This commit is contained in:
jiangyinzhi
2024-09-03 15:28:55 +08:00
parent 0095c6ecba
commit be8a167fd0
13 changed files with 392 additions and 28 deletions
@@ -482,22 +482,22 @@ export default {
ifType(data, type, num) {
if(num == 1) {
if (type == 'exteriorImage') {
this.exteriorImage.push(data.attach_id)
// this.exteriorImage.push(data.attach_id)
// const list = this.ifObj(this.exteriorImage)
this.form.exteriorImage = this.exteriorImage
this.form.exteriorImage.pop()
this.form.exteriorImage = this.exteriorImage = data
// this.form.exteriorImage.pop()
}
if (type == 'tagImage') {
this.tagImage.push(data.attach_id)
// this.tagImage.push(data.attach_id)
// const list = this.tagImage.join(',')
this.form.tagImage = this.tagImage
this.form.tagImage.pop()
this.form.tagImage = this.tagImage = data
// this.form.tagImage.pop()
}
if (type == 'markImage') {
this.markImage.push(data.attach_id)
// this.markImage.push(data.attach_id)
// const list = this.ifObj(this.markImage)
this.form.markImage = this.markImage
this.form.markImage.pop()
this.form.markImage = this.markImage = data
// this.form.markImage.pop()
}
} else {
if (type == 'exteriorImage') {