|
@@ -146,6 +146,8 @@ export default {
|
|
if(this.$store.state.vuex_workStatus == 'starting'){
|
|
if(this.$store.state.vuex_workStatus == 'starting'){
|
|
this.status = 'start'
|
|
this.status = 'start'
|
|
this.$store.state.vuex_workStatus = 'start'
|
|
this.$store.state.vuex_workStatus = 'start'
|
|
|
|
+ // 更新当前倒计时
|
|
|
|
+ this.updateDjs()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
@@ -205,6 +207,7 @@ export default {
|
|
// 更新当前倒计时
|
|
// 更新当前倒计时
|
|
updateDjs(){
|
|
updateDjs(){
|
|
let od = this.$store.state.vuex_orderDjs
|
|
let od = this.$store.state.vuex_orderDjs
|
|
|
|
+ console.log(od,'od')
|
|
if(od!=0){
|
|
if(od!=0){
|
|
let d = new Date().getTime() - od
|
|
let d = new Date().getTime() - od
|
|
this.timestamp = 300 - d/1000
|
|
this.timestamp = 300 - d/1000
|