fix(index): 修复首页在已登录状态下,不能点击的问题

This commit is contained in:
2025-12-20 16:52:29 +08:00
parent 3556691b56
commit 973c8dddd0
7 changed files with 48 additions and 9 deletions

View File

@@ -11,19 +11,37 @@ try {
}
} catch (e) {}
// 本地调试配置, 不同环境的配置
const localConfig = {
'460': { // 制氧设备平台
uniacid: 460,
domain: 'https://xcx30.5g-quickapp.com/',
},
'2285': { // 数码喷墨墨水
uniacid: 2285,
domain: 'https://xcx.aigc-quickapp.com/',
}
}
const {
uniacid: defaultUniacid,
domain: defaultDomain,
} = localConfig['2285'] ?? {}
// 调试版本,配置说明
const devCfg = {
// 商户ID
uniacid: 460, //825
uniacid: defaultUniacid, //825
//api请求地址
baseUrl: 'https://xcx30.5g-quickapp.com/',
baseUrl: defaultDomain,
// 图片域名
imgDomain: 'https://xcx30.5g-quickapp.com/',
imgDomain: defaultDomain,
// H5端域名
h5Domain: 'https://xcx30.5g-quickapp.com/',
h5Domain: defaultDomain,
// // api请求地址
// baseUrl: 'https://tsaas.liveplatform.cn/',