This commit is contained in:
zpc 2025-06-13 19:37:59 +08:00
parent f3c1b79720
commit 3558ea77d2
5 changed files with 900 additions and 900 deletions

View File

@ -41,7 +41,7 @@ const testing = {
// 根据环境变量选择对应配置
let currentEnv = testing;//production;//testing;//production_wz;
let currentEnv = production;//production;//testing;//production_wz;
// 衍生配置
const config = {
...currentEnv,

View File

@ -30,9 +30,9 @@ class BasePlatform {
}
async appData() {
await this.loadCacheData();
// uni.switchTab({
// url: '/pages/shouye/index'
// });
uni.switchTab({
url: '/pages/shouye/index'
});
}
/**

View File

@ -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) => {

View File

@ -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