From db5b357269402659fedd2667aee70c82cc218426 Mon Sep 17 00:00:00 2001
From: likun <906102152@qq.com>
Date: Mon, 9 Jun 2025 16:54:52 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=8A=B6=E6=80=81=E5=8D=95?=
=?UTF-8?q?=E5=85=83=E6=A0=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ui/src/components/restful/table.vue | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/ui/src/components/restful/table.vue b/ui/src/components/restful/table.vue
index 77074fc..a56b6e5 100644
--- a/ui/src/components/restful/table.vue
+++ b/ui/src/components/restful/table.vue
@@ -94,8 +94,8 @@ const handleServerRowData = (fieldsDescInfoData, rowData) => {
if (field.type === "tagStatus") {
for (let k = 0; k < field.choices.length; k++) {
if (rowData[field.key] === field.choices[k].value) {
- rowData.tagValue = field.choices[k].desc
- rowData.tagColor = tagStatusColorArray[field.choices[k].type]
+ rowData["tagValue" + field.key] = field.choices[k].desc
+ rowData["tagColor" + field.key] = tagStatusColorArray[field.choices[k].type]
}
}
}
@@ -599,11 +599,14 @@ const handlePaginationCurChange = (val) => {
-
-
+
- {{ scope.row.tagValue }}
+ {{
+ scope.row['tagValue' + fieldDescInfo.key]
+ }}
+