lex-xin пре 5 месеци
родитељ
комит
370e020ff1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/components/layout/guide-section/index.tsx

+ 1 - 0
src/components/layout/guide-section/index.tsx

@@ -175,6 +175,7 @@ export default defineComponent({
     onBeforeRouteUpdate((route: any) => {
       if (route.path !== opInfo.routePath) {
         opInfo.showGuide = false;
+        previewShow.value = false;
         onReset();
         opInfo.routePath = route.path === '/' ? '/Home' : route.path;
         windowInfo.showType = 'MENU';