'admin-22.11.17:修复v2.3.0版本iframe右键菜单刷新'
This commit is contained in:
parent
5cb614c277
commit
32e2d6cf94
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user