Prechádzať zdrojové kódy

fix:数据缺失标讯详情页展示

yangfeng 11 mesiacov pred
rodič
commit
3d5f5b0c2a

+ 1 - 1
apps/bigmember_pc/src/views/article-content/composables/useContentStore.js

@@ -77,7 +77,7 @@ async function useContentStore() {
         return res.data
         return res.data
       } else {
       } else {
         ContentIsError.value = true
         ContentIsError.value = true
-        if(res.error_msg.includes('未查到当前招标信息') !== -1) {
+        if(res.error_msg.includes('未查到当前招标信息')) {
           ContentErrorText.value = '由于相关部门要求,该信息已下架,敬请原谅'
           ContentErrorText.value = '由于相关部门要求,该信息已下架,敬请原谅'
         } else {
         } else {
           ContentErrorText.value = '该页面信息不存在'
           ContentErrorText.value = '该页面信息不存在'

+ 1 - 0
apps/mobile/src/api/modules/article.js

@@ -6,6 +6,7 @@ export function getArticlePreAgentInfo(params) {
   return request({
   return request({
     url: '/publicapply/detail/preAgent',
     url: '/publicapply/detail/preAgent',
     method: 'get',
     method: 'get',
+    noToast: true,
     params
     params
   })
   })
 }
 }