From 05cf68fe6e103f6db0e562926e84f43af198de7b Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 22 Apr 2021 10:36:29 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=BF=AE=E6=94=B9inputTags?= =?UTF-8?q?=E7=9A=84=E7=BB=84=E4=BB=B6=20=E5=8E=BB=E9=99=A4=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=81=87=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/package.json | 1 + .../src/components/common/clickSearch.vue | 4 +- .../common/rightBox/editEndpointBoxNew.vue | 48 ++++++++++++------ .../components/common/rightBox/moduleBox.vue | 49 +++++++++++++------ .../page/monitor/endpoint/endpointList.vue | 9 ++-- 5 files changed, 78 insertions(+), 33 deletions(-) diff --git a/nezha-fronted/package.json b/nezha-fronted/package.json index 56912b3d8..8c735f170 100644 --- a/nezha-fronted/package.json +++ b/nezha-fronted/package.json @@ -11,6 +11,7 @@ "lint": "eslint --fix --ext .js,.vue src" }, "dependencies": { + "@johmun/vue-tags-input": "^2.1.0", "@riophae/vue-treeselect": "^0.4.0", "@svgdotjs/svg.js": "^3.0.16", "@svgdotjs/svg.panzoom.js": "^2.1.1", diff --git a/nezha-fronted/src/components/common/clickSearch.vue b/nezha-fronted/src/components/common/clickSearch.vue index 535d38066..f6ab9db71 100644 --- a/nezha-fronted/src/components/common/clickSearch.vue +++ b/nezha-fronted/src/components/common/clickSearch.vue @@ -109,9 +109,9 @@ export default { this.titleSearchListCopy[key].showMore = !this.titleSearchListCopy[key].showMore } }, - destroyed() { + destroyed () { window.removeEventListener('resize', this.needMore) - }, + } } diff --git a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue index f7352db24..3b8246fbe 100644 --- a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue +++ b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue @@ -167,19 +167,25 @@ = - - - + + + + + + + + + + + + + + @@ -255,6 +261,7 @@