333
This commit is contained in:
parent
f3c1b79720
commit
3558ea77d2
|
|
@ -41,7 +41,7 @@ const testing = {
|
|||
|
||||
|
||||
// 根据环境变量选择对应配置
|
||||
let currentEnv = testing;//production;//testing;//production_wz;
|
||||
let currentEnv = production;//production;//testing;//production_wz;
|
||||
// 衍生配置
|
||||
const config = {
|
||||
...currentEnv,
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ class BasePlatform {
|
|||
}
|
||||
async appData() {
|
||||
await this.loadCacheData();
|
||||
// uni.switchTab({
|
||||
// url: '/pages/shouye/index'
|
||||
// });
|
||||
uni.switchTab({
|
||||
url: '/pages/shouye/index'
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -170,11 +170,11 @@ class H5Platform extends BasePlatform {
|
|||
}
|
||||
}
|
||||
|
||||
if (window.location.pathname == "/" || window.location.pathname == "/pages/index/index") {
|
||||
uni.switchTab({
|
||||
url: '/pages/shouye/index'
|
||||
});
|
||||
}
|
||||
// if (window.location.pathname == "/" || window.location.pathname == "/pages/index/index") {
|
||||
// uni.switchTab({
|
||||
// url: '/pages/shouye/index'
|
||||
// });
|
||||
// }
|
||||
}
|
||||
getOrderNo(event) {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class RequestManager {
|
|||
* @param {Boolean} showLoading 是否显示加载提示
|
||||
* @returns {Promise} 返回请求Promise
|
||||
*/
|
||||
static getCache(url, data = {}, showLoading = true) {
|
||||
static getCache(url, data = {}, showLoading = false) {
|
||||
// 生成缓存键
|
||||
const cacheKey = url + JSON.stringify(data);
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user