From d52b431e259798a202afac720292fd4a60fc4e65 Mon Sep 17 00:00:00 2001 From: hnu202326010131 <2950457847@qq.com> Date: Mon, 29 Dec 2025 11:26:04 +0000 Subject: [PATCH] =?UTF-8?q?feat(=E9=9B=86=E7=BE=A4=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=9B=86=E7=BE=A4=E7=8A=B6=E6=80=81=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8E=E6=8F=8F=E8=BF=B0=E5=AD=97=E6=AE=B5=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将健康状态选项改为英文以符合后端API校验要求 - 统一前端healthy状态值的业务逻辑 - 调整description字段位置确保正确发送至后端 - 增强错误处理并提供中文语义提示 - 新增联调指南文档 --- frontend-vue/commit_msg.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 frontend-vue/commit_msg.txt diff --git a/frontend-vue/commit_msg.txt b/frontend-vue/commit_msg.txt new file mode 100644 index 0000000..e4d8c0e --- /dev/null +++ b/frontend-vue/commit_msg.txt @@ -0,0 +1,14 @@ +feat: 优化集群管理逻辑与状态显示 + +git status + - 将 ClusterList.vue 中的健康状态选择器选项从中文改为英文(healthy/warning/error/unknown),以符合后端 API 校验要求。 + - 同步更新 ClusterList.vue 和 Dashboard.vue 中的业务逻辑,统一使用新的 healthy 状态值。 +git status + +2. 集群描述字段优化: +status .env.development .vite docs index.html node_modules package-lock.json package.json src tsconfig.json vite.config.ts + - 更新前端 Payload 构造逻辑,确保 description 字段位于集群对象顶层并正确发送至后端。 + +3. 错误提示与联调支持: +git status Diagnosis.vue 的错误处理能力,针对常见的 HTTP 状态码(401, 403, 500等)提供详细的中文语义提示。 + - 在 docs 目录下新增《集群描述后端联调指南.md》, description 字段的接口契约。