mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
Merge branch '20251203-fix-1320' of https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal into 20251203-fix-1320
This commit is contained in:
@@ -353,6 +353,14 @@ export default {
|
||||
this.keyword = newval;
|
||||
}
|
||||
},
|
||||
"$route.query.keyword": {
|
||||
handler(newval) {
|
||||
if (newval && this.current == "case") {
|
||||
this.keyword = newval;
|
||||
}
|
||||
},
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -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