From 80e6ce085931caecbca5a00c02a4f98cff7d21ad Mon Sep 17 00:00:00 2001
From: liangjin <liangjin@finlean.com>
Date: Fri, 09 Apr 2021 17:19:56 +0800
Subject: [PATCH] 和微分和微分
---
src/views/mine/account/account-add.vue | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/src/views/mine/account/account-add.vue b/src/views/mine/account/account-add.vue
index 485e436..c23a083 100644
--- a/src/views/mine/account/account-add.vue
+++ b/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("添加成功");
--
Gitblit v1.8.0