diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index 228445d..4e4f30e 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -1906,7 +1906,7 @@ export default { }) this.noIsbnCategoryList = list if (list.length > 0) { - this.noIsbnCategoryNames = list.map(function(item) { return item.showName }) + this.noIsbnCategoryNames = list.map(function(item) { return item.showName + '(' + item.showValue + ')' }) this.noIsbnCategoryIndex = 0 this.onNoIsbnCategorySelect(0) } else { diff --git a/utils/kongfz.js b/utils/kongfz.js index 9df1283..ff41c39 100644 --- a/utils/kongfz.js +++ b/utils/kongfz.js @@ -292,7 +292,7 @@ export function searchCategories(keyword, options = {}) { } if (normalGroup && normalGroup.subLabels) { resolve(normalGroup.subLabels.map(function(item) { - return { value: item.value, showName: item.showName } + return { value: item.value, showName: item.showName, showValue: item.showValue } })) } else { resolve([])