Pārlūkot izejas kodu

fix(会员信息):完成修改权限

李晓萍 3 mēneši atpakaļ
vecāks
revīzija
a803db9c66

+ 2 - 2
src/views/cyAccountManage/memberInfoManage/mainContent.vue

@@ -293,10 +293,10 @@ export default {
     ...mapGetters(['constant']),
     tablePower() {
       return ({ item, tab, row }) => {
-        const { tabPower, rowPower } = item
+        const { tabPower, rowPower,  msg } = item
         if (rowPower && rowPower.length) {
           if (tabPower.includes(tab)) {
-            if (row.verificationStatus === '核验成功') {
+            if (msg === '新建会员账户') {
               return rowPower.includes(row.verificationStatus)
             } else {
               return rowPower.includes(row.stageStr)