<template>
  <xm-verify-input v-model="component.attr.defaultValue" :regex="/^1[3456789]\d{9}$/" />
</template>

<script>
import components from './_import-components/xm-mobile-input-import'
export const metaInfo = {
  caption: '手机',
  component: 'a-input',
  icon: 'mobile',
  order: 100,
}
export const fieldProps = {
  dataType: 'string',
  attr: {
    regex: `^1[3456789]\\d{9}$`,
    regexMessage: '格式有误',
  },
}
export default {
  name: 'XmMobileInput',
  components,
  data() {
    return {}
  },
  methods: {},
}
</script>

<style module lang="scss">
@use '@/common/design' as *;
</style>
