From b1ddcef593b36ba5cb8b2a4c53ef714311072469 Mon Sep 17 00:00:00 2001 From: GeekMaster Date: Mon, 26 May 2025 14:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=20vite=20=E6=9E=B6=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/.env.development | 26 +- web/.env.production | 16 +- web/package.json | 5 +- web/src/App.vue | 117 +++---- web/src/components/FooterBar.vue | 44 +-- web/src/components/LoginDialog.vue | 311 +++++++++++-------- web/src/components/RealtimeConversation.vue | 280 +++++++++-------- web/src/components/Welcome.vue | 64 ++-- web/src/components/admin/AdminHeader.vue | 114 +++---- web/src/store/session.js | 28 +- web/src/store/system.js | 60 ++-- web/src/views/Home.vue | 2 +- web/src/views/Index.vue | 6 +- web/src/views/Login.vue | 4 +- web/src/views/Luma.vue | 320 +++++++++++--------- web/src/views/Member.vue | 221 ++++++++------ web/src/views/Suno.vue | 30 +- web/src/views/admin/Login.vue | 4 +- web/src/views/mobile/Index.vue | 2 +- web/vite.config.js | 65 ++-- 20 files changed, 937 insertions(+), 782 deletions(-) diff --git a/web/.env.development b/web/.env.development index d681c62c..058389fa 100644 --- a/web/.env.development +++ b/web/.env.development @@ -1,14 +1,14 @@ -VUE_APP_API_HOST=http://localhost:5678 -VUE_APP_WS_HOST=ws://localhost:5678 -VUE_APP_USER=18888888888 -VUE_APP_PASS=12345678 -VUE_APP_ADMIN_USER=admin -VUE_APP_ADMIN_PASS=admin123 -VUE_APP_KEY_PREFIX=GeekAI_DEV_ -VUE_APP_TITLE="Geek-AI 创作系统" -VUE_APP_VERSION=v4.2.3 -VUE_APP_DOCS_URL=https://docs.geekai.me -VUE_APP_GITHUB_URL=https://github.com/yangjian102621/geekai -VUE_APP_GITEE_URL=https://gitee.com/blackfox/geekai -VUE_APP_GITCODE_URL=https://gitcode.com/yangjian102621/geekai +VITE_API_HOST=http://localhost:5678 +VITE_WS_HOST=ws://localhost:5678 +VITE_USER=18888888888 +VITE_PASS=12345678 +VITE_ADMIN_USER=admin +VITE_ADMIN_PASS=admin123 +VITE_KEY_PREFIX=GeekAI_DEV_ +VITE_TITLE="Geek-AI 创作系统" +VITE_VERSION=v4.2.4 +VITE_DOCS_URL=https://docs.geekai.me +VITE_GITHUB_URL=https://github.com/yangjian102621/geekai +VITE_GITEE_URL=https://gitee.com/blackfox/geekai +VITE_GITCODE_URL=https://gitcode.com/yangjian102621/geekai diff --git a/web/.env.production b/web/.env.production index fc958bd2..a3b495e0 100644 --- a/web/.env.production +++ b/web/.env.production @@ -1,8 +1,8 @@ -VUE_APP_API_HOST= -VUE_APP_WS_HOST= -VUE_APP_KEY_PREFIX=GeekAI_ -VUE_APP_VERSION=v4.2.3 -VUE_APP_DOCS_URL=https://docs.geekai.me -VUE_APP_GITHUB_URL=https://github.com/yangjian102621/geekai -VUE_APP_GITEE_URL=https://gitee.com/blackfox/geekai -VUE_APP_GITCODE_URL=https://gitcode.com/yangjian102621/geekai +VITE_API_HOST= +VITE_WS_HOST= +VITE_KEY_PREFIX=GeekAI_ +VITE_VERSION=v4.2.4 +VITE_DOCS_URL=https://docs.geekai.me +VITE_GITHUB_URL=https://github.com/yangjian102621/geekai +VITE_GITEE_URL=https://gitee.com/blackfox/geekai +VITE_GITCODE_URL=https://gitcode.com/yangjian102621/geekai diff --git a/web/package.json b/web/package.json index 89d41986..90d2fb33 100644 --- a/web/package.json +++ b/web/package.json @@ -50,14 +50,11 @@ "@babel/eslint-parser": "^7.12.16", "@vitejs/plugin-vue": "^5.2.4", "autoprefixer": "^10.4.20", - "eslint": "^7.32.0", - "eslint-plugin-vue": "^8.0.3", "postcss": "^8.4.49", "stylus": "^0.58.1", "stylus-loader": "^7.0.0", "tailwindcss": "^3.4.17", - "vite": "^6.3.5", - "webpack": "^5.90.3" + "vite": "^5.4.10" }, "eslintConfig": { "root": true, diff --git a/web/src/App.vue b/web/src/App.vue index c0d638c1..0b026747 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -5,93 +5,93 @@ diff --git a/web/src/components/FooterBar.vue b/web/src/components/FooterBar.vue index bb45c600..b6582291 100644 --- a/web/src/components/FooterBar.vue +++ b/web/src/components/FooterBar.vue @@ -17,45 +17,45 @@