diff --git a/nezha-fronted/src/components/common/alert/alertLabel.vue b/nezha-fronted/src/components/common/alert/alertLabel.vue new file mode 100644 index 000000000..74d4f99cf --- /dev/null +++ b/nezha-fronted/src/components/common/alert/alertLabel.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/nezha-fronted/src/components/common/alert/alertRuleInfo.vue b/nezha-fronted/src/components/common/alert/alertRuleInfo.vue new file mode 100644 index 000000000..0f42c26d1 --- /dev/null +++ b/nezha-fronted/src/components/common/alert/alertRuleInfo.vue @@ -0,0 +1,104 @@ + + + + + diff --git a/nezha-fronted/src/components/page/alert/config.vue b/nezha-fronted/src/components/page/alert/config.vue index a7b878c6d..dbbc0d021 100644 --- a/nezha-fronted/src/components/page/alert/config.vue +++ b/nezha-fronted/src/components/page/alert/config.vue @@ -55,6 +55,7 @@ min-width="110px" :sortable="sortableShow(item.prop)" :prop="propTitle(item.prop)" + :sort-orders="['ascending', 'descending']" >