fix:修复fetchNoIsbnBookData循环调用导致分类为空的问题
This commit is contained in:
parent
b5d4a54340
commit
97e2d4ed23
@ -1933,7 +1933,7 @@ export default {
|
|||||||
if (catList.length > 0) {
|
if (catList.length > 0) {
|
||||||
this.noIsbnCategoryNames = catList.map(function(item) { return item.showName + '(' + item.showValue + ')' })
|
this.noIsbnCategoryNames = catList.map(function(item) { return item.showName + '(' + item.showValue + ')' })
|
||||||
this.noIsbnCategoryIndex = 0
|
this.noIsbnCategoryIndex = 0
|
||||||
this.onNoIsbnCategorySelect(0)
|
this.noIsbnSelectedCategoryValue = catList[0] ? catList[0].value : ''
|
||||||
} else {
|
} else {
|
||||||
this.noIsbnCategoryNames = ['未获取到分类']
|
this.noIsbnCategoryNames = ['未获取到分类']
|
||||||
this.noIsbnCategoryIndex = 0
|
this.noIsbnCategoryIndex = 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user