diff --git a/nezha-fronted/src/components/common/alert/alertMessageTable.vue b/nezha-fronted/src/components/common/alert/alertMessageTable.vue
index db6169242..7f67a8da0 100644
--- a/nezha-fronted/src/components/common/alert/alertMessageTable.vue
+++ b/nezha-fronted/src/components/common/alert/alertMessageTable.vue
@@ -84,7 +84,7 @@
{{item.value}}
-
+
+
@@ -274,7 +275,7 @@
label: this.$t("alert.list.labels"),
prop: 'labels',
show: true,
- width:350,
+ NotSet:true,
}, {
label: this.$t("alert.severity"),
prop: 'severity',
diff --git a/nezha-fronted/src/components/common/elementSet.vue b/nezha-fronted/src/components/common/elementSet.vue
index 93812c1a9..4dcc46b7f 100644
--- a/nezha-fronted/src/components/common/elementSet.vue
+++ b/nezha-fronted/src/components/common/elementSet.vue
@@ -3,11 +3,12 @@
{{$t('overall.select')}}
+
@@ -80,7 +81,7 @@ export default {
//全选all true 或者全取消cancel false按钮
batchHandler(state) {
for (let index = 0; index < this.custom.length; index++) {
- if (index == 0 || index == 1) {
+ if (index == 0 || index == 1 || this.custom[index].NotSet) {
this.custom[index].show = true;
} else {
this.custom[index].show = state;
@@ -89,7 +90,7 @@ export default {
},
//单选
handler(val, index) {
- if (!this.allowedAll && (index == 0 || index == 1)) {
+ if (!this.allowedAll && (index == 0 || index == 1 || val.NotSet)) {
this.custom[index].show = true;
} else {
this.custom[index].show = !this.custom[index].show;