部分微调
This commit is contained in:
@@ -194,25 +194,25 @@
|
||||
this.freeChapterCount = res.book.freeChapterCount
|
||||
this.bokMesDet.userId = this.userInfo.id
|
||||
|
||||
if (this.bookMessage.publisherName.indexOf(',') > 0) {
|
||||
this.bookMessage.publisherName = this.bookMessage.publisherName.split(',')
|
||||
this.bookMessage.publisherId = this.bookMessage.publisherId.split(',')
|
||||
this.bookMessage.publisherNIList = []
|
||||
for (let i in this.bookMessage.publisherName) {
|
||||
this.bookMessage.publisherNIList.push({
|
||||
title: this.bookMessage.publisherName[i]
|
||||
})
|
||||
}
|
||||
for (let j in this.bookMessage.publisherId) {
|
||||
this.bookMessage.publisherNIList[j].id = this.bookMessage.publisherId[j]
|
||||
}
|
||||
} else {
|
||||
this.bookMessage.publisherNIList = []
|
||||
this.bookMessage.publisherNIList.push({
|
||||
'title': this.bookMessage.publisherName,
|
||||
'id': this.bookMessage.publisherId
|
||||
})
|
||||
}
|
||||
// if (this.bookMessage.publisherName.indexOf(',') > 0) {
|
||||
// this.bookMessage.publisherName = this.bookMessage.publisherName.split(',')
|
||||
// this.bookMessage.publisherId = this.bookMessage.publisherId.split(',')
|
||||
// this.bookMessage.publisherNIList = []
|
||||
// for (let i in this.bookMessage.publisherName) {
|
||||
// this.bookMessage.publisherNIList.push({
|
||||
// title: this.bookMessage.publisherName[i]
|
||||
// })
|
||||
// }
|
||||
// for (let j in this.bookMessage.publisherId) {
|
||||
// this.bookMessage.publisherNIList[j].id = this.bookMessage.publisherId[j]
|
||||
// }
|
||||
// } else {
|
||||
// this.bookMessage.publisherNIList = []
|
||||
// this.bookMessage.publisherNIList.push({
|
||||
// 'title': this.bookMessage.publisherName,
|
||||
// 'id': this.bookMessage.publisherId
|
||||
// })
|
||||
// }
|
||||
});
|
||||
|
||||
// 获取电子目录
|
||||
|
||||
Reference in New Issue
Block a user