From 98e9f51b52329b0ac57153935b780f31894e465f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 18 Oct 2025 11:44:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(login):=20=E4=BF=AE=E6=94=B9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=99=BB=E5=BD=95=E6=96=B9=E5=BC=8F=E4=B8=BA=E6=89=AB?= =?UTF-8?q?=E7=A0=81=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将登录页面的默认登录类型从短信登录改为扫码登录 - 移除了开发环境中的 API 地址配置注释 - 删除了系统演示页面的测试代码 --- .env.development | 2 +- .../developer/components/CodeInfo.vue | 0 .../developer/components/ParamInfo.vue | 0 .../developer/components/ServerInfo.vue | 0 .../developer/components/TenantInfo.vue | 0 src/views/{system => }/developer/index.vue | 0 src/views/passport/login/index.vue | 2 +- src/views/system/demo/index.vue | 23 ------------------- 8 files changed, 2 insertions(+), 25 deletions(-) rename src/views/{system => }/developer/components/CodeInfo.vue (100%) rename src/views/{system => }/developer/components/ParamInfo.vue (100%) rename src/views/{system => }/developer/components/ServerInfo.vue (100%) rename src/views/{system => }/developer/components/TenantInfo.vue (100%) rename src/views/{system => }/developer/index.vue (100%) delete mode 100644 src/views/system/demo/index.vue diff --git a/.env.development b/.env.development index fbcc74b..b8ccd8b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ VITE_APP_NAME=后台管理(开发环境) -VITE_API_URL=http://127.0.0.1:9200/api +#VITE_API_URL=http://127.0.0.1:9200/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api diff --git a/src/views/system/developer/components/CodeInfo.vue b/src/views/developer/components/CodeInfo.vue similarity index 100% rename from src/views/system/developer/components/CodeInfo.vue rename to src/views/developer/components/CodeInfo.vue diff --git a/src/views/system/developer/components/ParamInfo.vue b/src/views/developer/components/ParamInfo.vue similarity index 100% rename from src/views/system/developer/components/ParamInfo.vue rename to src/views/developer/components/ParamInfo.vue diff --git a/src/views/system/developer/components/ServerInfo.vue b/src/views/developer/components/ServerInfo.vue similarity index 100% rename from src/views/system/developer/components/ServerInfo.vue rename to src/views/developer/components/ServerInfo.vue diff --git a/src/views/system/developer/components/TenantInfo.vue b/src/views/developer/components/TenantInfo.vue similarity index 100% rename from src/views/system/developer/components/TenantInfo.vue rename to src/views/developer/components/TenantInfo.vue diff --git a/src/views/system/developer/index.vue b/src/views/developer/index.vue similarity index 100% rename from src/views/system/developer/index.vue rename to src/views/developer/index.vue diff --git a/src/views/passport/login/index.vue b/src/views/passport/login/index.vue index fded8ab..14a3978 100644 --- a/src/views/passport/login/index.vue +++ b/src/views/passport/login/index.vue @@ -296,7 +296,7 @@ const direction = ref(0); // 加载状态 const loading = ref(false); // 是否显示tenantId填写输入框 -const loginType = ref('sms'); +const loginType = ref('scan'); const config = ref(); // 配置信息 const {form} = useFormData({ diff --git a/src/views/system/demo/index.vue b/src/views/system/demo/index.vue deleted file mode 100644 index 6c39fa2..0000000 --- a/src/views/system/demo/index.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - - -