|
@@ -86,7 +86,7 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
async init() {
|
|
async init() {
|
|
- uni.setStorageSync('env', window.env);
|
|
|
|
|
|
+ // uni.setStorageSync('env', window.env);
|
|
// 如果是微信小程序。初始化wss
|
|
// 如果是微信小程序。初始化wss
|
|
if (getIsMin()) {
|
|
if (getIsMin()) {
|
|
// this.Toastloading = Toast.loading({
|
|
// this.Toastloading = Toast.loading({
|
|
@@ -213,7 +213,6 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
initEnv() {
|
|
initEnv() {
|
|
- CacheTool.init();
|
|
|
|
const href = window.location.href;
|
|
const href = window.location.href;
|
|
console.log('当前页面的url地址 ', href);
|
|
console.log('当前页面的url地址 ', href);
|
|
if (/dev-|8080/.test(href)) {
|
|
if (/dev-|8080/.test(href)) {
|