hookehuyr

fix: 将暂无相关新闻提示改为暂无相关内容

统一两个函数中的提示文本,使其更通用
...@@ -497,7 +497,7 @@ watch(currentStep, () => { ...@@ -497,7 +497,7 @@ watch(currentStep, () => {
497 // 法会流程 - 跳转新闻详情页 497 // 法会流程 - 跳转新闻详情页
498 const viewMoreCeremony = (item) => { 498 const viewMoreCeremony = (item) => {
499 if (!item.articles?.length) { 499 if (!item.articles?.length) {
500 - showToast('暂无相关新闻') 500 + showToast('暂无相关内容')
501 return 501 return
502 } 502 }
503 router.push({ name: 'NewsDetail', params: { id: item.articles[0]['id'] } }) 503 router.push({ name: 'NewsDetail', params: { id: item.articles[0]['id'] } })
...@@ -506,7 +506,7 @@ const viewMoreCeremony = (item) => { ...@@ -506,7 +506,7 @@ const viewMoreCeremony = (item) => {
506 // 三坛大戒 - 参考法会流程,跳转新闻详情页 506 // 三坛大戒 - 参考法会流程,跳转新闻详情页
507 const viewMoreThreeAltars = (item) => { 507 const viewMoreThreeAltars = (item) => {
508 if (!item.articles?.length) { 508 if (!item.articles?.length) {
509 - showToast('暂无相关新闻') 509 + showToast('暂无相关内容')
510 return 510 return
511 } 511 }
512 router.push({ name: 'NewsDetail', params: { id: item.articles[0]['id'] } }) 512 router.push({ name: 'NewsDetail', params: { id: item.articles[0]['id'] } })
......