From 151328704826f72da95186c29ec1bcdad13b9a0e Mon Sep 17 00:00:00 2001
From: xy <271556543@qq.com>
Date: Thu, 3 Aug 2023 10:51:28 +0800
Subject: [PATCH] 2023-8-3
---
src/components/Reception/Search.vue | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/components/Reception/Search.vue b/src/components/Reception/Search.vue
index 5e03533..a620bc9 100644
--- a/src/components/Reception/Search.vue
+++ b/src/components/Reception/Search.vue
@@ -64,7 +64,7 @@
常用搜索
- {{ i }}{{ index !== 3 ? ' | ' : '' }}
+ {{ i }}{{ index !== 3 ? ' | ' : '' }}
@@ -116,7 +116,13 @@ export default {
this.searchType = e.key
},
search () {
- this.$router.push('/index/list1')
+ if (this.$route.fullPath === '/index/home') {
+ this.$router.push('/index/list1')
+ return
+ }
+ if (this.$route.fullPath === '/index/list1') {
+ window.getMaterial()
+ }
// if (this.searchType === 'keyword') {
// this.$store.commit('reception/SET_SELECTED',{ key: 'jianshu', value: '' })
// this.$store.commit('reception/SET_SELECTED',{ key: 'keyword', value: this.inputValue })