Browse Source

前台收藏搜索页点击详情不根据applyType判断

chaihaorui 1 year ago
parent
commit
70a696efb9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/homepage/components/searchPage.vue

+ 1 - 1
src/pages/homepage/components/searchPage.vue

@@ -233,7 +233,7 @@ export default {
233 233
     },
234 234
     jumpToDetailPage(item) {
235 235
       const {id, applyType} = item
236
-      if (applyType === '2') { // 2 代表审批通过
236
+      if (applyType === '2' || this.pageType === 'collect') { // 2 代表审批通过
237 237
         detailApi.addResourceViews({resourceType: resourceTypeMap[this.activeName]}).then(res=> {})
238 238
         const resourceTypeMapA = {
239 239
           first: 'theme',