diff --git a/src/components/Table/ListTable/TableAction/LeftSide.vue b/src/components/Table/ListTable/TableAction/LeftSide.vue
index 6b4e650a1..bc87a0227 100644
--- a/src/components/Table/ListTable/TableAction/LeftSide.vue
+++ b/src/components/Table/ListTable/TableAction/LeftSide.vue
@@ -198,7 +198,6 @@ export default {
selectedRows: this.selectedRows,
reloadTable: this.reloadTable
})
-
return {
name: 'moreActions',
title: this.moreActionsTitle || this.$t('MoreActions'),
diff --git a/src/views/pam/RiskDetect/RiskHandlerFormatter/ReviewDrawer.vue b/src/views/pam/RiskDetect/RiskHandlerFormatter/ReviewDrawer.vue
index a4757e5eb..b4999321d 100644
--- a/src/views/pam/RiskDetect/RiskHandlerFormatter/ReviewDrawer.vue
+++ b/src/views/pam/RiskDetect/RiskHandlerFormatter/ReviewDrawer.vue
@@ -32,8 +32,8 @@
-
- {{ $t("Confirm") }}
+
+ {{ $t("Close") }}
{{ $t("IgnoreAlert") }}
@@ -115,10 +115,8 @@ export default {
}
return `${username}@${asset.name}`
},
- handleOpen() {
- },
- handleConfirm() {
- this.$emit('handle', { action: 'confirm', comment: this.comment })
+ handleClose() {
+ this.$emit('handle', { action: 'close', comment: this.comment })
},
formatTimestamp(datetime) {
return toSafeLocalDateStr(datetime)
diff --git a/src/views/pam/RiskDetect/RiskHandlerFormatter/const.js b/src/views/pam/RiskDetect/RiskHandlerFormatter/const.js
index 3c5b16751..dbde33dbe 100644
--- a/src/views/pam/RiskDetect/RiskHandlerFormatter/const.js
+++ b/src/views/pam/RiskDetect/RiskHandlerFormatter/const.js
@@ -75,8 +75,8 @@ export const riskActions = [
has: false
},
{
- name: 'confirm',
- label: i18n.t('Confirm'),
+ name: 'close',
+ label: i18n.t('Close'),
has: false
}
]