From cf5c3cde7d0dbec44d4c2f7bea87c4d5362accb0 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期五, 06 九月 2024 09:56:19 +0800 Subject: [PATCH] 修改按钮的text修改为link --- src/views/project/yw/dataManage/graph/GraphIndex.vue | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/views/project/yw/dataManage/graph/GraphIndex.vue b/src/views/project/yw/dataManage/graph/GraphIndex.vue index 2b090c4..af642ae 100644 --- a/src/views/project/yw/dataManage/graph/GraphIndex.vue +++ b/src/views/project/yw/dataManage/graph/GraphIndex.vue @@ -86,7 +86,7 @@ highlight-current-row > <el-table-column prop="name" label="鏂囦欢鍚嶇О" fixed="left" show-overflow-tooltip align="left" /> - <el-table-column prop="type" width="120" label="鏂囦欢鏍煎紡" show-overflow-tooltip align="center" /> + <el-table-column prop="type" width="120" label="鏂囦欢绫诲瀷" show-overflow-tooltip align="center" /> <el-table-column prop="time" label="涓婁紶鏃堕棿" show-overflow-tooltip width="280" align="center"></el-table-column> <el-table-column label="鎿嶄綔" width="80" fixed="right" show-overflow-tooltip align="center"> <template #default="scope"> @@ -233,10 +233,6 @@ }).finally(() => {}); if (res?.json_ok) { const resData = (res.values || []) as []; - resData.forEach((item) => { - const type = item?.name.split('.')[1]; - item.type = type; - }); categoryTableData.value = resData; } else { ElMessage.error('鑾峰彇鏂囨。鍒楄〃澶辫触' + (res?.json_msg ? `锛�${JSON.stringify(res.json_msg)}` : '')); -- Gitblit v1.9.3