ant design vue 表单验证
官方给出的参数是这样的
v-decorator="[id, options]"
v - decorator ="['country', {initialValue: 1, rules:[{required: true, message: '请选择景点位置'}]}]"
不明白为什么 还可以这样声明:
v-decorator="['username',validatorRules.username,{ validator: this.handleUsernameOrEmail }]"