From 9e6e98a8c6541354619f15e81009082db8d3ad14 Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <l287285524@qq.com>
Date: Wed, 28 Jul 2021 22:48:05 +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