diff --git a/.env.development b/.env.development index 9ddae3b..ced5de9 100644 --- a/.env.development +++ b/.env.development @@ -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生产数据接口 diff --git a/src/stores/user/index.ts b/src/stores/user/index.ts index 078cf00..dec28e8 100644 --- a/src/stores/user/index.ts +++ b/src/stores/user/index.ts @@ -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; }); // 登录