hookehuyr

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

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