From 49cd4490a0d7e326399be40a49afed0533e362d7 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Sun, 13 Oct 2024 08:24:00 +0800 Subject: [PATCH] * Put `currentTab` value into proper place params instead of query --- src/renderer/views/Channel/Channel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/views/Channel/Channel.js b/src/renderer/views/Channel/Channel.js index 4f52b410c0065..f69b7a4481851 100644 --- a/src/renderer/views/Channel/Channel.js +++ b/src/renderer/views/Channel/Channel.js @@ -2051,8 +2051,10 @@ export default defineComponent({ await this.$router.replace({ path: `/channel/${this.id}`, - query: { + params: { currentTab: 'search', + }, + query: { searchQueryText: query, }, }).catch(failure => {