弯头工段
@@ -388,8 +390,14 @@ export default {
}
}
},
- created () {
+ // created () {
+ // this.refresh()
+ // },
+ mounted () {
this.refresh()
+ setTimeout(() => {
+ this.$router.push('/devicescreen')
+ }, 5000)
},
beforeDestroy () {
this.$once('hook:beforeDestroy', () => {
diff --git a/src/pages/Setup.vue b/src/pages/Setup.vue
index 729fffe..8587fda 100644
--- a/src/pages/Setup.vue
+++ b/src/pages/Setup.vue
@@ -98,7 +98,8 @@ export default {
// equipId: this.active
}
this.$store.dispatch('setConfig', obj)
- this.$router.push('/HomeScreen')
+ this.$router.push('/devicescreen')
+ // this.$router.push('/HomeScreen')
// if (this.active === '0') {
// this.$router.push('/MonitoringScreen')
// } else {