From 4f1e9734803f3992c41efdc6cb0701a6814fa00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E5=85=89=E5=AD=9F?= Date: Wed, 25 Feb 2026 10:38:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=90=AF=E7=94=A8=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=E5=B9=B6=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E7=B1=BB=E5=9E=8B=E5=88=A4=E6=96=AD=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BB=A5=E5=85=BC=E5=AE=B9=E6=97=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/stores/user/index.ts | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) 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; }); // 登录