update
This commit is contained in:
父節點
57d3f53918
當前提交
f09b40beaf
@ -71,7 +71,7 @@ export default {
|
||||
}),
|
||||
},
|
||||
unit: {
|
||||
type: "String",
|
||||
type: String,
|
||||
default: "单位/m³",
|
||||
},
|
||||
legend: {
|
||||
|
@ -31,7 +31,7 @@ export default {
|
||||
computed: {
|
||||
...mapState(["fireDirection", "lastFireChangeTime", "fireChangeTime"]),
|
||||
rdata() {
|
||||
let [_, min, sec] = /(\d+)分(\d+)秒/.exec(this.lastFireChangeTime)
|
||||
let [_, min, sec] = /(\d+)分(\d+)秒/.exec(this.lastFireChangeTime || '0分0秒')
|
||||
min = +min
|
||||
sec = +sec
|
||||
let timer = setInterval(() => {
|
||||
|
@ -22,7 +22,7 @@ export default new Vuex.Store({
|
||||
fireDirection: "南火",
|
||||
kilnPressure: '00',
|
||||
fireChangeTime: '00:00:00',
|
||||
lastFireChangeTime: '/',
|
||||
lastFireChangeTime: '0分0秒',
|
||||
waterInTemp: '000',
|
||||
waterOutTemp: '000'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user