From 20d2411affc9111a8d27cab7738c8f26bffb962b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8A=E9=95=9C=E8=99=AB?= <8701215+HMWorm@user.noreply.gitee.com> Date: Fri, 22 Nov 2024 15:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E4=BF=AE=E5=A4=8D=E5=90=88?= =?UTF-8?q?=E5=B9=B6=E5=BC=95=E8=B5=B7=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 10 +--- src/components/MyInput.vue | 83 --------------------------------- src/components/emotion.vue | 30 ------------ src/main.js | 2 +- src/views/aichat/AIChatView.vue | 12 +++-- src/views/article/Post.vue | 42 ++++++++--------- src/views/home/HomePage.vue | 16 ------- 7 files changed, 32 insertions(+), 163 deletions(-) delete mode 100644 src/components/MyInput.vue delete mode 100644 src/components/emotion.vue diff --git a/package.json b/package.json index 77a664e..ded08cf 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "serve": "vue-cli-service serve", + "serve": "vue-cli-service serve --port 8081", "build": "vue-cli-service build" }, "dependencies": { @@ -11,17 +11,13 @@ "@wangeditor/editor-for-vue": "^5.1.12", "ant-design-vue": "^4.2.5", "@ant-design/icons-vue": "^7.0.1", - "@element-plus/icons-vue": "^2.3.1", "@vue/reactivity": "^3.5.12", - "ant-design-vue": "^4.2.5", - "axios": "^1.7.7", "axios": "^1.7.7", "core-js": "^3.8.3", "dayjs": "^1.11.13", "element-plus": "^2.8.6", "html2canvas": "^1.4.1", "qs": "^6.13.1", - "qs": "^6.13.0", "vue": "^3.2.13", "vue-router": "^4.0.3", "vue3-emoji": "^3.0.2", @@ -31,9 +27,7 @@ "@vue/cli-plugin-babel": "~5.0.0", "@vue/cli-plugin-router": "~5.0.0", "@vue/cli-plugin-vuex": "~5.0.0", - "@vue/cli-service": "~5.0.0", - "node-sass": "^9.0.0", - "sass-loader": "^10.2.0" + "@vue/cli-service": "~5.0.0" }, "browserslist": [ "> 1%", diff --git a/src/components/MyInput.vue b/src/components/MyInput.vue deleted file mode 100644 index 77d3863..0000000 --- a/src/components/MyInput.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - 发布 - - - - content+=i" :height="150" > - - - - - - - - diff --git a/src/components/emotion.vue b/src/components/emotion.vue deleted file mode 100644 index b0a62a5..0000000 --- a/src/components/emotion.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/src/main.js b/src/main.js index fe88eb5..79c4080 100644 --- a/src/main.js +++ b/src/main.js @@ -13,7 +13,7 @@ import Antd from 'ant-design-vue'; import 'ant-design-vue/dist/reset.css'; import axios from "axios"; //8.1配置根路径 -const BASE_URL = 'http://localhost:8081' +const BASE_URL = 'http://localhost:8080' //window配置全局内容,可以在任意script标签中使用 window.BASE_URL=BASE_URL diff --git a/src/views/aichat/AIChatView.vue b/src/views/aichat/AIChatView.vue index 71f020f..e4fa975 100644 --- a/src/views/aichat/AIChatView.vue +++ b/src/views/aichat/AIChatView.vue @@ -1,6 +1,11 @@ - + + + + + + - + - + @@ -151,6 +156,7 @@