Преглед изворни кода

避免开发环境缓存无隔离的清空

xiaohaizhao пре 1 година
родитељ
комит
799c05b712
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      pages/index/index/index.vue

+ 2 - 0
pages/index/index/index.vue

@@ -238,6 +238,8 @@ export default {
                 });
                 });
                 this.shopDetail = list[0];
                 this.shopDetail = list[0];
                 this.storeList = list;
                 this.storeList = list;
+              } else {
+                this.shopDetail = {};
               }
               }
             });
             });
         });
         });