Переглянути джерело

feat: 采购单位搜索历史浏览逻辑调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 рік тому
батько
коміт
7a704ec3cb

+ 1 - 1
apps/mobile/src/components/search/HistoryBrowseList.vue

@@ -73,7 +73,7 @@ export default {
             stringItemTransform
           )
         } else {
-          const stringItemTransform = typeof v === 'string' ? { html: v } : v
+          const stringItemTransform = typeof v.name === 'string' ? { html: v.name } : v
           return Object.assign(
             {
               html: v.label