BUG 26118

This commit is contained in:
aixianling
2021-12-28 16:30:48 +08:00
parent c3118f9f8c
commit d7b4306b5b
4 changed files with 7 additions and 12 deletions

View File

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