소스 검색

接口店铺

duanqianwen 1 년 전
부모
커밋
34ce35c893
1개의 변경된 파일12개의 추가작업 그리고 6개의 파일을 삭제
  1. 12 6
      src/pageMerchant/storeModule/shopManage.vue

+ 12 - 6
src/pageMerchant/storeModule/shopManage.vue

@@ -390,15 +390,20 @@
                   })
                 })
                 this.tabbar = res.data
-                this.rightTabbar = result.data.map(obj => {
-                  return {
-                    ...obj,
-                    checked: false
-                  }
-                })
+
+                if(this.delete_type==1){
+                  this.rightTabbar = result.data.map(obj => {
+                    return {
+                      ...obj,
+                      checked: false
+                    }
+                  })
+                }
+
 
               } else {
                 this.tabbar = []
+                 this.rightTabbar = []
               }
 
 
@@ -406,6 +411,7 @@
             })
           } else {
             this.tabbar = []
+            this.rightTabbar = []
           }
         })