#I6FO83 解决多次查看页面,编辑时是上一次的页面问题
This commit is contained in:
@@ -273,7 +273,7 @@ const props = defineProps({
|
|||||||
});
|
});
|
||||||
let emit = defineEmits(['switchSpace', 'changeExpandedKeys', 'loadPageList']);
|
let emit = defineEmits(['switchSpace', 'changeExpandedKeys', 'loadPageList']);
|
||||||
onBeforeRouteUpdate((to) => {
|
onBeforeRouteUpdate((to) => {
|
||||||
loadPageDetail(to.query.pageId);
|
initQueryParam(to);
|
||||||
});
|
});
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
initQueryParam(route);
|
initQueryParam(route);
|
||||||
|
|||||||
Reference in New Issue
Block a user