瀏覽代碼

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

chaihaorui 1 年之前
父節點
當前提交
70a696efb9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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',