From 2257392176de52dd075d9f96f2edc54fd892e4a2 Mon Sep 17 00:00:00 2001 From: "34701892@qq.com" <34701892@qq.com> Date: Wed, 3 Sep 2025 21:23:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83API=E5=9C=B0=E5=9D=80=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=AF=8C=E6=96=87=E6=9C=AC=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新.env.production中的API地址为正式域名 在富文本编辑器中添加管理员权限检查,隐藏非管理员的操作按钮 --- .env.production | 8 ++++---- src/views/pages/richedit/index.vue | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.env.production b/.env.production index 45f54ad..4fb8e9d 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,9 @@ ENV = production # 线上环境接口地址 -# VITE_API_URL = https://cankao.cs.com.cn/admin -VITE_API_URL = http://123.60.153.169:8040/admin +VITE_API_URL = https://cankao.cs.com.cn/admin +# VITE_API_URL = http://123.60.153.169:8040/admin #H5的域名,目前是给列表里的复制用 -# VITE_API_URL_H5 = https://cankao.cs.com.cn -VITE_API_URL_H5 = http://123.60.153.169:8040 +VITE_API_URL_H5 = https://cankao.cs.com.cn +# VITE_API_URL_H5 = http://123.60.153.169:8040 diff --git a/src/views/pages/richedit/index.vue b/src/views/pages/richedit/index.vue index b2d41b2..e7a3edd 100644 --- a/src/views/pages/richedit/index.vue +++ b/src/views/pages/richedit/index.vue @@ -108,11 +108,11 @@ - +