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;