shish 4 лет назад
Родитель
Сommit
3c3ed2735a
1 измененных файлов с 11 добавлено и 10 удалено
  1. 11 10
      ghsApp/src/admin/home/me.vue

+ 11 - 10
ghsApp/src/admin/home/me.vue

@@ -178,16 +178,17 @@ export default {
     showAllShop () {
     showAllShop () {
       this.$refs.shopSelectComponent.dropdownShow = true;
       this.$refs.shopSelectComponent.dropdownShow = true;
 
 
-      this.$refs.shopSelectComponent.shopList = []
-      shopAll().then(res=>{
-        if(res.code == 1){
-          if (!this.$util.isEmpty(res.data)){
-            res.data.forEach((i) => {
-              this.$refs.shopSelectComponent.shopList.push({id:i.id,name:i.shopName})
-            })
-          }
-        }
-      })
+      // this.$refs.shopSelectComponent.shopList = []
+      // shopAll().then(res=>{
+      //   if(res.code == 1){
+      //     if (!this.$util.isEmpty(res.data)){
+      //       res.data.forEach((i) => {
+      //         this.$refs.shopSelectComponent.shopList.push({id:i.id,name:i.shopName})
+      //       })
+      //     }
+      //   }
+      // })
+
     },
     },
     async init () {
     async init () {
       const { data } = await mainMy();
       const { data } = await mainMy();