Browse Source

日常开发

linxuxiang 1 week ago
parent
commit
5aa224c0a4
3 changed files with 11 additions and 11 deletions
  1. 1 1
      src/layout/index.vue
  2. 9 9
      src/views/home/index.vue
  3. 1 1
      src/views/sunshineRun/index.vue

+ 1 - 1
src/layout/index.vue

@@ -44,7 +44,7 @@ const openRanking = () => {
     rankingWindowRef.value.close();
   }
   console.log("timer.value", timer.value)
-  // 设置新的定时器,6秒后执行
+  // 设置新的定时器
   timer.value = setTimeout(() => {
     if (!rankingWindowRef.value.rankingState) {
       if (

+ 9 - 9
src/views/home/index.vue

@@ -90,15 +90,15 @@ const getJump = (url: string, name: string) => {
       })
       .finally(() => { });
   } else if (url == '/game') {
-    // proxy?.$modal.msgWarning('暂不开放使用,敬请期待!');
-    proxy?.$modal
-      .prompt('请输入密码')
-      .then((e: any) => {
-        if (e.action == 'confirm' && e.value == 'trops') {
-          router.push({ path: url });
-        }
-      })
-      .finally(() => { });
+    proxy?.$modal.msgWarning('暂不开放使用,敬请期待!');
+    // proxy?.$modal
+    //   .prompt('请输入密码')
+    //   .then((e: any) => {
+    //     if (e.action == 'confirm' && e.value == 'trops') {
+    //       router.push({ path: url });
+    //     }
+    //   })
+    //   .finally(() => { });
   }
   else {
     router.push({ path: url });

+ 1 - 1
src/views/sunshineRun/index.vue

@@ -292,7 +292,7 @@ const openRanking = () => {
     rankingWindowRef.value.close();
   }
   console.log("timer.value", timer.value)
-  // 设置新的定时器,6秒后执行
+  // 设置新的定时器
   timer.value = setTimeout(() => {
     if (!rankingWindowRef.value.rankingState) {
       rankingWindowRef.value.open();