'admin-22.11.17:修复v2.3.0版本iframe右键菜单刷新'

This commit is contained in:
lyt 2022-11-17 00:44:00 +08:00
parent 5cb614c277
commit 32e2d6cf94

View File

@ -76,12 +76,12 @@ export default defineComponent({
watch(
() => props.refreshKey,
() => {
const item: any = props.list.find((v: any) => v.path === route.path);
const item: any = props.list.find((v: any) => v.path === route.path);
if (item && item.meta.isIframeOpen) item.meta.isIframeOpen = false;
nextTick(() => {
item.meta.isIframeOpen = true;
});
},
},
{
deep: true,
}