From 7f1d6eb9f555b1f38d85e84d57bc17192cceb274 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期二, 07 一月 2025 14:22:40 +0800
Subject: [PATCH] 1、修改logo图标 2、修改config.ts plat_url值 3、移除VITE_PLAT_API_URL 4、将应用改为目录

---
 src/router/modules/remaining.ts |    1 +
 src/utils/constants.ts          |    2 +-
 package.json                    |    9 +++------
 src/assets/imgs/logo.png        |    0 
 src/api/login/index.ts          |   10 ----------
 5 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/package.json b/package.json
index 1decffc..a385ef2 100644
--- a/package.json
+++ b/package.json
@@ -9,11 +9,11 @@
     "dev": "vite --mode env.local",
     "dev-server": "vite --mode dev",
     "ts:check": "vue-tsc --noEmit",
-    "build:local": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build",
+    "build:local": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build",
     "build:dev": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build --mode dev",
     "build:test": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build --mode test",
-    "build:stage": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode stage",
-    "build:prod": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode prod",
+    "build:stage": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build --mode stage",
+    "build:prod": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build --mode prod",
     "serve:dev": "vite preview --mode dev",
     "serve:prod": "vite preview --mode prod",
     "preview": "pnpm build:local && vite preview",
@@ -141,8 +141,5 @@
   "engines": {
     "node": ">= 16.0.0",
     "pnpm": ">=8.6.0"
-  },
-  "rules": {
-    "vue/no-parsing-error": [2, { "x-invalid-end-tag": false }]
   }
 }
diff --git a/src/api/login/index.ts b/src/api/login/index.ts
index c493951..b8bc47c 100644
--- a/src/api/login/index.ts
+++ b/src/api/login/index.ts
@@ -4,16 +4,6 @@
 
 const { plat_url} = config
 
-export interface SmsCodeVO {
-  mobile: string
-  scene: number
-}
-
-export interface SmsLoginVO {
-  mobile: string
-  code: string
-}
-
 // 登录
 export const login = (data: UserLoginVO) => {
   return request.post({ url: plat_url + '/system/auth/login', data })
diff --git a/src/assets/imgs/logo.png b/src/assets/imgs/logo.png
index 4017d80..f55aafb 100644
--- a/src/assets/imgs/logo.png
+++ b/src/assets/imgs/logo.png
Binary files differ
diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts
index a8ae008..88af5ba 100644
--- a/src/router/modules/remaining.ts
+++ b/src/router/modules/remaining.ts
@@ -72,6 +72,7 @@
     path: '/',
     component: Layout,
     name: 'Home',
+    redirect: '/index',
     meta: {
       hidden: true,
       noTagsView: true
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index b21f067..987df88 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -31,7 +31,7 @@
  * 应用菜单的类型枚举
  */
 export const SystemAppMenuTypeEnum = {
-  DIR: 1, // 应用
+  DIR: 1, // 目录
   MENU: 2, // 菜单
   BUTTON: 3 // 按钮
 }

--
Gitblit v1.9.3