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: {
|
||||
planArray: function(array) {
|
||||
for (let i = 0; i < array.length; i++) {
|
||||
this.weekData[i].data = array[i].data
|
||||
}
|
||||
planArray: {
|
||||
handler(array) {
|
||||
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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user