|
@@ -183,8 +183,7 @@ function init() {
|
|
|
linkUrl.value = window.location.host;
|
|
|
// linkUrl.value = "192.168.10.165:13200";
|
|
|
// linkUrl.value = "localhost:81";
|
|
|
- // linkUrl.value = "xf.usky.cn:13212";
|
|
|
-
|
|
|
+ linkUrl.value = "xf.usky.cn:13212";
|
|
|
useStore.GetMobileTenantConfig({ url: linkUrl.value });
|
|
|
}
|
|
|
//#endif
|
|
@@ -192,17 +191,16 @@ function init() {
|
|
|
//#ifdef APP-PLUS || MP-WEIXIN
|
|
|
if (uni.getStorageSync("serveUrl")) {
|
|
|
linkUrl.value = uni.getStorageSync("serveUrl");
|
|
|
- // linkUrl.value = "localhost:81";
|
|
|
useStore.GetMobileTenantConfig({ url: linkUrl.value });
|
|
|
} else {
|
|
|
if(config.appInfo.appid == '__UNI__BF1A1F0'){
|
|
|
uni.setStorageSync("serveUrl", "xf.usky.cn:13212");
|
|
|
+ commonStore.setServeList("xf.usky.cn:13212", "");
|
|
|
}else{
|
|
|
uni.setStorageSync("serveUrl", "manager.usky.cn");
|
|
|
+ commonStore.setServeList("manager.usky.cn", "");
|
|
|
}
|
|
|
- commonStore.setServeList("manager.usky.cn", "");
|
|
|
linkUrl.value = uni.getStorageSync("serveUrl");
|
|
|
- // linkUrl.value = "localhost:81";
|
|
|
useStore.GetMobileTenantConfig({ url: linkUrl.value });
|
|
|
}
|
|
|
//#endif
|
|
@@ -299,9 +297,9 @@ function handlePrivacy() {
|
|
|
}
|
|
|
|
|
|
onShow(() => {
|
|
|
- nextTick(() => {
|
|
|
+ // nextTick(() => {
|
|
|
init();
|
|
|
- });
|
|
|
+ // });
|
|
|
});
|
|
|
|
|
|
onLoad((options) => {
|