fix: 更新环境配置,启用本地接口地址并调整账号类型判断逻辑以兼容旧版本

This commit is contained in:
傅光孟 2026-02-25 10:38:26 +08:00
parent b5c6256ed2
commit 4f1e973480
2 changed files with 7 additions and 3 deletions

View File

@ -3,12 +3,12 @@ ENV = development
# 本地环境接口地址
# 参考测试环境接口地址
# VITE_API_URL = http://123.60.153.169:8040/apih5
VITE_API_URL = http://123.60.153.169:8040/apih5
# VITE_API_URL = http://4155gf93ll13.vicp.fun/apih5
# VITE_API_URL = http://123.60.79.143:8041/apih5
# VITE_API_URL =http://192.168.0.135:8040/apih5
# 参考生产环境接口地址
VITE_API_URL = https://cankao.cs.com.cn/apih5
# VITE_API_URL = https://cankao.cs.com.cn/apih5
# datav测试数据接口
VITE_API_TEST_DATAV_URL = https://cankao.cs.com.cn/zzck_test
# datav生产数据接口

View File

@ -52,7 +52,11 @@ const storeSetup = () => {
// 试用 | 正式
const isUserType = computed(() => {
return getUserInfos().accountType === 1 ? true : false;
// 0:测试 1:正式 判断账号类型
// return getUserInfos().accountType === 1 ? true : false;
// 为了兼容之前的版本,暂时不区分账号类型,先放开正式账号和测试账号的限制
return true;
});
// 登录