Browse Source

#I24D3S后台-系统管理-用户管理,新建用户时如果不选择角色会出现 空白提示

master
xuwenbo 4 years ago
parent
commit
d76184df09
  1. 3
      src/views/system/user/index.vue

3
src/views/system/user/index.vue

@ -255,6 +255,9 @@ export default {
{ required: true, message: '请输入邮箱地址', trigger: 'blur' }, { required: true, message: '请输入邮箱地址', trigger: 'blur' },
{ type: 'email', message: '请输入正确的邮箱地址', trigger: 'blur' } { type: 'email', message: '请输入正确的邮箱地址', trigger: 'blur' }
], ],
roles: [
{ required: true, message: '请选择角色', trigger: 'blur' },
],
phone: [ phone: [
{ required: true, trigger: 'blur', validator: validPhone } { required: true, trigger: 'blur', validator: validPhone }
] ]

Loading…
Cancel
Save