普通网友 2022-12-12 11:07 采纳率: 26.3%
浏览 2

12.12 new askquestion


getTabName (item) {
      let res = ''
      let count = 0
      this.categoryIdList.forEach(element => {
        if (element === item.categoryId) {
          count++
        }
      })
      if (count) {
        res = item.categoryName + ' ' + `<em>${count}</em>`
      } else {
        res = item.categoryName
      }
      return res
    },
  • 写回答

1条回答 默认 最新

  • dp_shiyu 2022-12-12 11:11
    关注

    您要问的问题是什么呢?

    评论

报告相同问题?

问题事件

  • 创建了问题 12月12日