Преглед на файлове

前台收藏搜索页点击详情不根据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',