mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-06-16 08:27:49 +08:00
修复录制计划-编辑时的回显加载问题
This commit is contained in:
parent
875c4aed6d
commit
fd3dc4dada
@ -148,10 +148,17 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
planArray: function(array) {
|
planArray: {
|
||||||
for (let i = 0; i < array.length; i++) {
|
handler(array) {
|
||||||
this.weekData[i].data = array[i].data
|
if (!array || !array.length) {
|
||||||
}
|
return
|
||||||
|
}
|
||||||
|
for (let i = 0; i < array.length; i++) {
|
||||||
|
this.weekData[i].data = array[i].data
|
||||||
|
}
|
||||||
|
},
|
||||||
|
deep: true,
|
||||||
|
immediate: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user