Explorar el Código

阳光跑不用跳转

linxuxiang hace 1 mes
padre
commit
2261f81968
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/layout/index.vue

+ 1 - 1
src/layout/index.vue

@@ -26,7 +26,7 @@ const handClick = () => {
 
 const getCountDown = () => {
   timer.value = setTimeout(() => {
-    if (['/ranking', '/login/mobile'].includes(router.currentRoute.value.fullPath)) {
+    if (['/ranking', '/login/mobile', '/sunshineRun'].includes(router.currentRoute.value.fullPath)) {
       router.push({ path: '/ranking' });
     }
   }, 1000 * 60 * 5)