This commit is contained in:
@fawn-nine
2023-09-20 17:36:58 +08:00
parent 86beae79cb
commit c91b88393f

View File

@@ -159,7 +159,7 @@
init(id,bookid) {
this.productPid = bookid
this.dataForm.shupingid = id || null
console.log(id,this.productPid,'this.productPid')
// console.log(id,this.productPid,'this.productPid')
this.dataForm.productId = bookid || 0
this.visible = true
this.$nextTick(() => {
@@ -189,21 +189,7 @@
this.fileList = attr
}
} else {
console.log(data.BookForumArticlesEntity.productImageList)
let arr = []
let arr1 = []
arr = data.BookForumArticlesEntity.productImageList.split(',');
console.log(arr)
arr.forEach((item, index) => {
arr1.push({
name: index,
url: item
})
});
this.swiperfileList = arr1
}
}
})
}
})