编辑用户信息强制要有名称=》去掉避免
This commit is contained in:
parent
63e2a57f36
commit
a6481906fb
@ -46,10 +46,10 @@ export default {
|
||||
},
|
||||
rules() {
|
||||
const crules = {
|
||||
name: [
|
||||
{ required: true, message: this.$t('rules.pleaseInputName'), trigger: 'blur' },
|
||||
{ min: 1, max: 25, message: this.$t('rules.strLength1To25'), trigger: 'blur' }
|
||||
],
|
||||
// name: [
|
||||
// { required: true, message: this.$t('rules.pleaseInputName'), trigger: 'blur' },
|
||||
// { min: 1, max: 25, message: this.$t('rules.strLength1To25'), trigger: 'blur' }
|
||||
// ],
|
||||
roles: [
|
||||
{ required: true, message: this.$t('rules.pleaseSelectPermission'), trigger: 'change' }
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user