From db5f4071ecd9bffcff3dc7b7f9fd744ac1e80535 Mon Sep 17 00:00:00 2001 From: Double-_-Z <2492419643@qq.com> Date: Sun, 13 Jul 2025 20:24:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=89=8D=E7=AB=AF=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E5=9F=BA=E6=9C=AC=E8=B7=AF=E5=BE=84=EF=BC=8C=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=B9=B3=E5=8F=B0=E7=AE=A1=E7=90=86=EF=BC=88=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E7=AE=A1=E7=90=86=EF=BC=89=E5=92=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=B4=A0=E6=9D=90=E7=AE=A1=E7=90=86=E4=BA=A4=E4=BA=92=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E4=BF=AE=E6=94=B9wangeditor=E5=AF=8C?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=BC=96=E8=BE=91=E5=99=A8=E5=B0=81=E8=A3=85?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- .env.production | 2 + src/components/WangEditor/index.vue | 63 +++++- src/views/platform/article/add.vue | 272 ++++++++++++++++++++++++++ src/views/platform/article/detail.vue | 116 +++++++++++ src/views/platform/article/index.vue | 146 +++++++++++++- src/views/platform/material/index.vue | 33 +++- 7 files changed, 612 insertions(+), 23 deletions(-) create mode 100644 src/views/platform/article/add.vue create mode 100644 src/views/platform/article/detail.vue diff --git a/.env.development b/.env.development index 614701a..dd9d84a 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,7 @@ VUE_APP_BASE_API = 'http://8.138.171.103/aerocraftAdminApi' # VUE_APP_BASE_API = 'https://eladmin.vip' # VUE_APP_WS_API = 'ws://localhost:8000' VUE_APP_WS_API = 'wss://eladmin.vip' - +# 运行基本路径 +VUE_APP_BASE_PATH = 'http://localhost:8013' # 是否启用 babel-plugin-dynamic-import-node插件 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index f93926a..91ee30e 100644 --- a/.env.production +++ b/.env.production @@ -3,5 +3,7 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http VUE_APP_BASE_API = 'http://8.138.171.103/aerocraftAdminApi' +# 运行基本路径 +VUE_APP_BASE_PATH = 'http://8.138.171.103/aerocraftAdmin' # 如果接口是 http 形式, wss 需要改为 ws VUE_APP_WS_API = 'wss://eladmin.vip' diff --git a/src/components/WangEditor/index.vue b/src/components/WangEditor/index.vue index a5df339..61bb2eb 100644 --- a/src/components/WangEditor/index.vue +++ b/src/components/WangEditor/index.vue @@ -1,14 +1,18 @@