Explorar o código

Update index.tsx

lex-xin hai 5 meses
pai
achega
370e020ff1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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';