fix:分类显示改为 showName(showValue)格式
This commit is contained in:
parent
6edc8aeb5b
commit
e68122a587
@ -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 {
|
||||
|
||||
@ -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([])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user