From d3e84e81103e778432a84a3d96004dbd1473ba99 Mon Sep 17 00:00:00 2001 From: zyd Date: Mon, 6 Jun 2022 23:43:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A6=96=E9=A1=B5=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=95=88=E6=9E=9C=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home2/components/searchGroup/index.vue | 30 +++++-------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/src/pages/home2/components/searchGroup/index.vue b/src/pages/home2/components/searchGroup/index.vue index 4c1023c35..1b2c2761a 100644 --- a/src/pages/home2/components/searchGroup/index.vue +++ b/src/pages/home2/components/searchGroup/index.vue @@ -14,21 +14,6 @@ :value="item.value" > - - - - -
- 一般检索 + 一般检索(标题) + 一般检索(全文) 高级检索
@@ -93,10 +79,10 @@ export default { computed: {}, watch: {}, methods: { - checkStateTypeFunc(data){ - this.checkStateType = data - this.$forceUpdate() - }, + // checkStateTypeFunc(data){ + // this.checkStateType = data + // this.$forceUpdate() + // }, checkStateFunc(data){ if(data === 'All'){ this.showType = true @@ -104,13 +90,13 @@ export default { this.showType = false } }, - search() { + search(checkStateType) { this.$router.push({ name: 'StandardSearch', params: { selectKey: this.checkState, searchValue: this.checkContent || undefined, - allType: this.checkStateType, + allType: checkStateType, } }) },