From f9c8e4000b228de69c25a6c5e78cccca25666fe7 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Mon, 19 Jul 2021 17:26:45 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-795=20fix:=20=E4=BF=AE=E5=A4=8DAlert=20rule?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E4=BA=8C=E7=BA=A7=E7=95=8C=E9=9D=A2=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/bottomBox/tabs/alertMessageTabNew.vue | 13 ------------- .../components/common/labelFilter/clickSearch.vue | 1 - 2 files changed, 14 deletions(-) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue index 53359a61a..c3a30cb14 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue @@ -595,19 +595,6 @@ export default { this.$refs.moduleBox.show(false, false) this.viewAssetState = false }, - // 数据排序 - tableDataSort (item) { - let orderBy = '' - if (item.order === 'ascending') { - orderBy = item.prop - } - if (item.order === 'descending') { - orderBy = '-' + item.prop - } - this.pageObj.orderBy = orderBy - this.$set(this.searchLabel, 'orderBy', orderBy) - this.getTableData() - }, computeDistance (str) { let width = 0 const html = document.createElement('span') diff --git a/nezha-fronted/src/components/common/labelFilter/clickSearch.vue b/nezha-fronted/src/components/common/labelFilter/clickSearch.vue index 05f3c9d49..84840806c 100644 --- a/nezha-fronted/src/components/common/labelFilter/clickSearch.vue +++ b/nezha-fronted/src/components/common/labelFilter/clickSearch.vue @@ -124,7 +124,6 @@ export default { immediate: true, deep: true, handler (n) { - console.info(n) this.titleSearchListCopy = JSON.parse(JSON.stringify(n)) this.$nextTick(() => { this.setEachCascWidth()