浏览代码

60s跳转

yhluo 6 月之前
父节点
当前提交
3c5ef73a1b
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 3 0
      src/views/prodline/index.vue
  2. 3 0
      src/views/zz/index.vue

+ 3 - 0
src/views/prodline/index.vue

@@ -158,6 +158,9 @@ export default {
           type: 'warning'
       });
     })
+    setTimeout(() => {
+      this.$router.push("/makeprocess")
+    }, 60000)
   },
   beforeDestroy () {
     clearInterval(this.timing);

+ 3 - 0
src/views/zz/index.vue

@@ -138,6 +138,9 @@ export default {
           type: 'warning'
       });
     })
+    setTimeout(() => {
+      this.$router.push("/makeprocess")
+    }, 60000)
   },
   beforeDestroy () {
     clearInterval(this.timing);