diff --git a/src/views/modules/book/bookcomment-add-or-update.vue b/src/views/modules/book/bookcomment-add-or-update.vue index 57fc94a..bf8558e 100644 --- a/src/views/modules/book/bookcomment-add-or-update.vue +++ b/src/views/modules/book/bookcomment-add-or-update.vue @@ -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 - } + } }) } })