这段代码是使用Vue的watch方法监听router.currentRoute.value.query.id的变化,并在变化时执行回调函数。回调函数中将state.queryForm重置为初始值。

vue的 watch = routercurrentRoutevaluequeryid = statequeryForm = pageNo 1 pageSize 10 sName hangYeLeiBeiID undefined