.
This commit is contained in:
@@ -159,7 +159,7 @@
|
|||||||
init(id,bookid) {
|
init(id,bookid) {
|
||||||
this.productPid = bookid
|
this.productPid = bookid
|
||||||
this.dataForm.shupingid = id || null
|
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.dataForm.productId = bookid || 0
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -189,21 +189,7 @@
|
|||||||
this.fileList = attr
|
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
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user