Browse Source

去除跳转内容

callm 7 months ago
parent
commit
2925fe51fb
2 changed files with 1 additions and 16 deletions
  1. 0 15
      src/router/index.js
  2. 1 1
      src/views/total/up3.vue

+ 0 - 15
src/router/index.js

@@ -71,19 +71,4 @@ const routes = [{
 const router = new VueRouter({
   routes
 })
-router.beforeEach((to, from, next) => {
-  // 清除之前的定时器
-  if (router.timer) {
-    clearTimeout(router.timer);
-  }
-  // 设置新的定时器,例如每60秒切换到下一个页面
-  router.timer = setTimeout(() => {
-    if (to.path === '/prodline') {
-      next('/makeprocess');
-    } else if(to.path === '/makeprocess') {
-      next('/prodline');
-    }
-  }, 60000);
-  next();
-});
 export default router

+ 1 - 1
src/views/total/up3.vue

@@ -3,7 +3,7 @@
     <div class="bg-color-black">
       <div class="up">
         <div class="d-flex pt-1 pl-2 jc-center">
-          <span class="fs-xxl text mx-2 fw-b">本月计划达成推进统计</span>
+          <span class="fs-xxl text mx-2 fw-b">7日计划达成推进统计</span>
         </div>
         <div class="body-box">
           <up3Chart :bardata="bardata" ></up3Chart>