Browse Source

阳光跑不用跳转

linxuxiang 1 tháng trước cách đây
mục cha
commit
2261f81968
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)