From dcc0f9542e1c3015a5344b541b42f155dcce6e8a Mon Sep 17 00:00:00 2001 From: sjh Date: Mon, 18 Nov 2024 19:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=81=B5=E6=95=8F=E6=84=9F?= =?UTF-8?q?=E7=9F=A5-=E9=97=AE=E9=A2=98=E7=BA=BF=E7=B4=A2=EF=BC=8C?= =?UTF-8?q?=E5=B0=86=E4=B8=AA=E4=BA=BA=E9=A3=8E=E9=99=A9=E7=A7=BB=E5=88=B0?= =?UTF-8?q?=E9=A3=8E=E9=99=A9=E9=97=AE=E9=A2=98=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/model-risk-tree.vue | 7 +++++++ src/views/sensitivePerception/Model.vue | 5 ----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/model-risk-tree.vue b/src/components/model-risk-tree.vue index fba2fbe..999cc70 100644 --- a/src/components/model-risk-tree.vue +++ b/src/components/model-risk-tree.vue @@ -78,6 +78,13 @@ function renderContent( title: node.label + '('+node.ruleDesc+')', }, node.label + ), + h( + "span", + { + class: 'ml-8 text-primary' + }, + node.data.size ? `(${node.data.size })` : '' ) ); } diff --git a/src/views/sensitivePerception/Model.vue b/src/views/sensitivePerception/Model.vue index 7bc0c98..10d0136 100644 --- a/src/views/sensitivePerception/Model.vue +++ b/src/views/sensitivePerception/Model.vue @@ -668,10 +668,6 @@ onMounted(() => { listModelClass().then((data) => { classes.value = data; }); - - listRiskScoreRuleTree().then((data) => { - treeOptions.value = data; - }); }); function handleChangeClass(id) { @@ -786,7 +782,6 @@ function goClue() { white-space: nowrap; text-overflow: ellipsis; } - overflow: auto; } .model-card { background: #f6f7ff;