refactor: 路由参数 from 改为fromPage

This commit is contained in:
yangsy
2025-12-18 21:35:34 +08:00
parent 189f7a5d63
commit 2d977c5321
9 changed files with 19 additions and 19 deletions

View File

@@ -21,10 +21,10 @@ const { debugModeEnabled } = storeToRefs(settingStore);
const { ndmDevice, station } = toRefs(props);
const showPageHeader = computed(() => {
return !!route.query['from'];
return !!route.query['fromPage'];
});
const onBack = () => {
router.push({ path: `${route.query['from']}` });
router.push({ path: `${route.query['fromPage']}` });
};
const activeTabName = ref('当前诊断');