From 2fbc1d841d067765367af4ee9954549f13d61537 Mon Sep 17 00:00:00 2001 From: "34701892@qq.com" <34701892@qq.com> Date: Wed, 24 Sep 2025 21:25:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor(richedit):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E5=B8=83=E5=B1=80=E5=92=8C=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重构富文本编辑页面,主要变更包括: 1. 简化表单元素布局,减少冗余代码 2. 根据用户类型重新组织操作按钮显示逻辑 3. 调整环境配置文件中的API地址 --- .env.development | 4 +- src/views/pages/richedit/index.vue | 284 ++++++++++++----------------- 2 files changed, 116 insertions(+), 172 deletions(-) diff --git a/.env.development b/.env.development index e3f7ce1..c92ea84 100644 --- a/.env.development +++ b/.env.development @@ -3,9 +3,9 @@ ENV = development # 本地环境接口地址 # VITE_API_URL = https://4155gf93ll13.vicp.fun/admin -VITE_API_URL = http://localhost:13579/admin +# VITE_API_URL = http://localhost:13579/admin # VITE_API_URL = https://cankao.cs.com.cn/admin -# VITE_API_URL = http://123.60.153.169:8040/admin +VITE_API_URL = http://123.60.153.169:8040/admin # VITE_API_URL = /api diff --git a/src/views/pages/richedit/index.vue b/src/views/pages/richedit/index.vue index 3c2f9ef..2b6b9c7 100644 --- a/src/views/pages/richedit/index.vue +++ b/src/views/pages/richedit/index.vue @@ -9,13 +9,8 @@
- + @@ -23,32 +18,15 @@
行业分类: - +
- + @@ -56,54 +34,27 @@
- + - + - +
评分范围: - + - - + @@ -116,15 +67,8 @@
- +