|
|
@ -64,7 +64,7 @@ onBeforeUnmount(() => { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
watch(route, to => { |
|
|
watch(route, to => { |
|
|
if (to.fullPath === '/' || to.fullPath === '/nav' || to.fullPath === '/nav?type=art') { |
|
|
|
|
|
|
|
|
if (to.fullPath === '/nav' || to.fullPath === '/nav?type=art') { |
|
|
window?.Map_QM?.startRender() |
|
|
window?.Map_QM?.startRender() |
|
|
} else { |
|
|
} else { |
|
|
window?.Map_QM?.cancelRender() |
|
|
window?.Map_QM?.cancelRender() |
|
|
|