fix:分类显示改为 showName(showValue)格式

This commit is contained in:
ShenQiLun 2026-07-01 13:58:59 +08:00
parent 6edc8aeb5b
commit e68122a587
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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([])