add:新增仙工agv动作块以及优化任务看板
This commit is contained in:
@@ -152,7 +152,8 @@ export default {
|
||||
// 定时器
|
||||
const timer = setInterval(() => {
|
||||
this.settime()// 你所加载数据的方法
|
||||
}, 1000)
|
||||
this.getMessage()
|
||||
}, 10000)
|
||||
// 销毁定时器
|
||||
this.$once('hook:beforeDestroy', () => {
|
||||
clearInterval(timer)
|
||||
@@ -183,6 +184,11 @@ export default {
|
||||
this.initStatus()
|
||||
}, 10000)
|
||||
},
|
||||
getMessage() {
|
||||
deviceCrud.getLedMessage(this.device).then(data => {
|
||||
this.form = data
|
||||
})
|
||||
},
|
||||
settime() {
|
||||
const _this = this
|
||||
const yy = new Date().getFullYear()
|
||||
|
||||
Reference in New Issue
Block a user