From ea4d603dc171a27e19611902d3d4e97583b816b9 Mon Sep 17 00:00:00 2001
From: liangjin <liangjin@finlean.com>
Date: Fri, 02 Apr 2021 17:48:18 +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