#I6FO83 解决多次查看页面,编辑时是上一次的页面问题

This commit is contained in:
暮光:城中城
2023-02-16 21:56:17 +08:00
parent bcf675943c
commit 65277168bb

View File

@@ -273,7 +273,7 @@ const props = defineProps({
});
let emit = defineEmits(['switchSpace', 'changeExpandedKeys', 'loadPageList']);
onBeforeRouteUpdate((to) => {
loadPageDetail(to.query.pageId);
initQueryParam(to);
});
onMounted(() => {
initQueryParam(route);