Prechádzať zdrojové kódy

修改分享列表bug

wangming 1 týždeň pred
rodič
commit
5231a3459c

+ 1 - 1
src/components/js_sdk/index.js

@@ -7,7 +7,7 @@ http.setConfig(config => {
         // if (!selectedService || selectedService == 'aloneServe') {
         // config.baseUrl = "https://api.radar-power.asia:4443/portal-service-server/";
         // }
-        // config.baseUrl = "https://radar-power.cn/portal-service-server/";
+        config.baseUrl = "https://radar-power.cn/portal-service-server/";
         config.baseUrl = "https://api.radar-power.asia:4443/portal-service-server/";
     }
     if (__wxConfig.envVersion == 'trial') {

+ 2 - 0
src/pagesA/shareList/shareList.vue

@@ -89,6 +89,8 @@ export default {
                     uni.hideLoading();
                     if (res.data.data) {
                         this.shareList = res.data.data;
+                    } else {
+                        this.shareList = [];
                     }
                 });
         },