BUG 26049

This commit is contained in:
aixianling
2021-12-27 09:37:23 +08:00
parent cd56987ad3
commit 8fbbe1ef0a
2 changed files with 2 additions and 3 deletions

View File

@@ -184,10 +184,10 @@ export default {
})
uni.$on('filedConfig', res => {
if (res.index === '-1') {
if (!res.index) {
this.targetList.push(res.config)
} else {
this.$set(this.targetList, [res.index], res.config)
this.targetList.splice(res.index, 1, res.config)
}
})
},

View File

@@ -189,7 +189,6 @@ export default {
},
pointTypeChange(e) {
console.log(e)
this.config.pointType = e[0].value
},