fix:修改监听路由

merge-requests/18/head
张征 3 years ago
parent c7158ba6ba
commit 33be84ff2b

@ -177,11 +177,12 @@ export default {
}, },
}, },
watch: { watch: {
// $route: {
//categoryId handler() {
"$route.query.keyword": function () {
this.init(); this.init();
}, },
deep: true,
},
}, },
}; };
</script> </script>

Loading…
Cancel
Save