比较完美完成返回滚动实现
This commit is contained in:
@@ -18,7 +18,7 @@ const search = () => {
|
||||
pubsub.publish("zp.toggleSearch");
|
||||
// elSearch.value.blur()
|
||||
store.commit('addSearchHistory', keywords.value)
|
||||
router.push(`/search/1/${keywords.value}`);
|
||||
router.push(`/search/${keywords.value}`);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user