mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 01:46:42 +08:00
fix:案例详情页点击搜索返回列表页时触发接口
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -895,6 +895,14 @@ export default {
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
"$route.query.keyword": {
|
||||
handler(newval) {
|
||||
if (newval) {
|
||||
this.search(true);
|
||||
}
|
||||
},
|
||||
immediate: true,
|
||||
},
|
||||
// years() {
|
||||
// this.search(true)
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user