fix:修复fetchNoIsbnBookData循环调用导致分类为空的问题

This commit is contained in:
ShenQiLun 2026-07-02 16:02:57 +08:00
parent b5d4a54340
commit 97e2d4ed23

View File

@ -1933,7 +1933,7 @@ export default {
if (catList.length > 0) {
this.noIsbnCategoryNames = catList.map(function(item) { return item.showName + '' + item.showValue + '' })
this.noIsbnCategoryIndex = 0
this.onNoIsbnCategorySelect(0)
this.noIsbnSelectedCategoryValue = catList[0] ? catList[0].value : ''
} else {
this.noIsbnCategoryNames = ['未获取到分类']
this.noIsbnCategoryIndex = 0