'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(
|
watch(
|
||||||
() => props.refreshKey,
|
() => 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;
|
if (item && item.meta.isIframeOpen) item.meta.isIframeOpen = false;
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
item.meta.isIframeOpen = true;
|
item.meta.isIframeOpen = true;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
deep: true,
|
deep: true,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user