mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-09-15 00:25:07 +08:00
feature: 当用户关闭iframe内嵌页面时,
删除iframe页面而不是隐藏, 用户再此打开时保证为新的页面
This commit is contained in:
parent
71dceeacc2
commit
0741cb0156
@ -40,7 +40,7 @@ onMounted(() => {
|
|||||||
addIframe();
|
addIframe();
|
||||||
});
|
});
|
||||||
|
|
||||||
watchEffect(() => {
|
watch(()=>route.fullPath,() => {
|
||||||
addIframe();
|
addIframe();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -58,6 +58,9 @@ export default {
|
|||||||
}
|
}
|
||||||
return router.push('/');
|
return router.push('/');
|
||||||
}
|
}
|
||||||
|
if(obj.meta.link){
|
||||||
|
useTagsViewStore().delIframeView(obj);
|
||||||
|
}
|
||||||
return useTagsViewStore().delView(obj);
|
return useTagsViewStore().delView(obj);
|
||||||
},
|
},
|
||||||
// 关闭所有tab页签
|
// 关闭所有tab页签
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user