Commit 4cb7ba07 authored by xulili's avatar xulili

bug 手机号校验

parent f952d589
......@@ -72,8 +72,8 @@
<span v-if="item.prop === 'roleList'">
{{ accoutRoleList(scope.row[item.prop]) }}
</span>
<span v-if="item.prop === 'exiredDate'">
{{ accoutRoleList(scope.row[item.prop]) || '永久有效' }}
<span v-else-if="item.prop === 'exiredDate'">
{{ scope.row[item.prop] || '永久有效' }}
</span>
<span v-else>{{ scope.row[item.prop] }}</span>
</div>
......
......@@ -133,8 +133,8 @@ export default {
permanent: [
{ required: true, message: "请选择账号有效期", trigger: "change" },
],
roleList: [
{ type: 'array',required: true, message: "请选择账号类型", trigger: "change" },
phone: [
{ required: true, validator: validateMobilePhone, trigger: "change" },
]
},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment