text: import { isNumber, toNumber, isNaN, isString } from 'lodash'
  import { isEmpty } from '../../utils/helper'
  
  export default {
    validate (val) {
      return !isEmpty(val)
        ? isNumber(val) || isString(val) && !/^0(?!\.|e)/.test(val) && !isNaN(toNumber(val))
        : true
    },
    message: '值必须为数字',
    priority: 10
  }
  