mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +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: {
|
watch: {
|
||||||
|
"$route.query.keyword": {
|
||||||
|
handler(newval) {
|
||||||
|
if (newval) {
|
||||||
|
this.search(true);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
|
},
|
||||||
// years() {
|
// years() {
|
||||||
// this.search(true)
|
// this.search(true)
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user