UPDATE: VERSION-20260327
This commit is contained in:
@@ -365,12 +365,16 @@ export default defineComponent({
|
|||||||
window.addEventListener('resize', handleResize);
|
window.addEventListener('resize', handleResize);
|
||||||
console.log('节点挂载完成');
|
console.log('节点挂载完成');
|
||||||
|
|
||||||
if(currentRoute.query.platform){
|
const platformId = currentRoute.query.platform;
|
||||||
findOneTreeByPlatformId(currentRoute.query.platform as number).then(r=> {
|
if (platformId) {
|
||||||
|
const id = Number(platformId);
|
||||||
|
if (!isNaN(id)) {
|
||||||
|
findOneTreeByPlatformId(id).then(r => {
|
||||||
if (r.data) {
|
if (r.data) {
|
||||||
handleSelectTree(r.data);
|
handleSelectTree(r.data);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user