refactor: 路由参数 from 改为fromPage
This commit is contained in:
@@ -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('当前诊断');
|
||||
|
||||
Reference in New Issue
Block a user