Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-26 14:31:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7d5021755de3a204b554b2e18d872955786148fc
7d502175
1 parent
bdd7a3ce
搜索查询操作显示优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/views/search.vue
src/views/search.vue
View file @
7d50217
<!--
* @Date: 2024-10-20 16:57:48
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-2
5 18:13:06
* @LastEditTime: 2024-10-2
6 14:28:58
* @FilePath: /hager/src/views/search.vue
* @Description: 文件描述
-->
...
...
@@ -109,9 +109,12 @@ export default {
}
},
watch: {
'$route.query.keyword': function(newKeyword) {
'$route.query.keyword': function(newKeyword
, oldKeyword
) {
this.keyword = newKeyword || '';
if (newKeyword !== oldKeyword) {
this.activeName = 'product';
this.getList();
}
},
},
async mounted () {
...
...
Please
register
or
login
to post a comment