Przeglądaj źródła

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

xiaohaizhao 1 rok temu
rodzic
commit
799c05b712
1 zmienionych plików z 2 dodań i 0 usunięć
  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.storeList = list;
+              } else {
+                this.shopDetail = {};
               }
             });
         });