src/views/mine/account/account-add.vue | ●●●●● patch | view | raw | blame | history |
src/views/mine/account/account-add.vue
@@ -40,7 +40,7 @@ mblNo: "", email: "", name: "", menuPower: [], menuPower: [100001, 100006], powerInfoVos: [] //权限列表 }, rule:[ @@ -90,9 +90,6 @@ let index = powerInfoVos.findIndex(child => { return item.powerId === child.powerId; }); if(index!==-1){ this.form.menuPower.push(item.powerId) } }); } @@ -112,8 +109,6 @@ }, // 新增 add() { this.form.menuPower.push(100001); this.form.menuPower.push(100006); if(!this.validatorForm()) return this.$api.userAdd(this.form).then(res => { this.$notify("添加成功");