BUG修改

This commit is contained in:
a0049873 2022-07-28 20:20:34 +08:00
parent 1c7bdef115
commit fb78805786
2 changed files with 6 additions and 2 deletions

View File

@ -607,7 +607,9 @@ export default {
this.submitFrom.infoList = this.submitFrom.infoList.filter( this.submitFrom.infoList = this.submitFrom.infoList.filter(
(item) => item.attrType !== obj.attrType (item) => item.attrType !== obj.attrType
) )
if (obj.attrValue) {
this.submitFrom.infoList.push(obj) this.submitFrom.infoList.push(obj)
}
}, },
changeAdd () { changeAdd () {
const arr = [] const arr = []

View File

@ -581,7 +581,9 @@ export default {
}, },
changeInfoList (obj) { changeInfoList (obj) {
this.submitFrom.infoList = this.submitFrom.infoList.filter((item) => item.attrType !== obj.attrType) this.submitFrom.infoList = this.submitFrom.infoList.filter((item) => item.attrType !== obj.attrType)
if (obj.attrValue) {
this.submitFrom.infoList.push(obj) this.submitFrom.infoList.push(obj)
}
}, },
submitData () { submitData () {
const arr = [] const arr = []