gemercheung 6 månader sedan
förälder
incheckning
48ef5c4b56
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      packages/web/src/pages/showcate/[id].vue
  2. 1 1
      packages/web/src/pages/showdoc/[id].vue

+ 1 - 1
packages/web/src/pages/showcate/[id].vue

@@ -90,7 +90,7 @@ const nodeProps = ({ option }: { option: TreeOption }) => {
       router.replace(`/showcate/${option.id}`)
       setTimeout(() => {
         location.reload()
-      }, 500)
+      }, 50)
     },
   }
 }

+ 1 - 1
packages/web/src/pages/showdoc/[id].vue

@@ -116,7 +116,7 @@ const nodeProps = ({ option }: { option: TreeOption }) => {
       router.replace(`/showcate/${option.id}`)
       setTimeout(() => {
         location.reload()
-      }, 500)
+      }, 50)
     },
   }
 }