浏览代码

代码优化

林旭祥 1 月之前
父节点
当前提交
a17676dce4
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/components/RankingWindow/index.vue
  2. 1 1
      src/views/sunshineRun/index.vue

+ 1 - 1
src/components/RankingWindow/index.vue

@@ -6,8 +6,8 @@
   </Transition>
   </Transition>
 </template>
 </template>
 <script setup lang="ts">
 <script setup lang="ts">
+import Ranking from "@/views/ranking/index.vue"
 const { proxy } = getCurrentInstance() as any;
 const { proxy } = getCurrentInstance() as any;
-import Ranking from "@/views/ranking/index"
 const emit = defineEmits(['getClose']);
 const emit = defineEmits(['getClose']);
 
 
 //父值
 //父值

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

@@ -300,7 +300,7 @@ const getClose = () => {
 const openRanking = () => {
 const openRanking = () => {
   timer.value = setTimeout(() => {
   timer.value = setTimeout(() => {
     rankingWindowRef.value.open();
     rankingWindowRef.value.open();
-  }, 1000 * 60 * 0.5);
+  }, 1000 * 60 * 5);
 };
 };
 
 
 /**
 /**