编辑用户信息强制要有名称=》去掉避免

This commit is contained in:
fan 2021-01-12 16:19:10 +08:00
parent 63e2a57f36
commit a6481906fb

View File

@ -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' }
]