Fix:4143 【商城小程序】资讯已删除的情况下,点击互动消息中对应资讯的评论和回复内容,无需跳转进入资讯详情页,并增加弹窗提示“该内容已删除”
This commit is contained in:
@@ -157,6 +157,14 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toInfo(comment) {
|
toInfo(comment) {
|
||||||
|
if(!comment.contentAvailable) {
|
||||||
|
// 该内容已删除
|
||||||
|
uni.showToast({
|
||||||
|
title: '该内容已删除',
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
this.$yrouter.push('/pagesInn/inn/innInfoDetail?id=' + comment.contentId)
|
this.$yrouter.push('/pagesInn/inn/innInfoDetail?id=' + comment.contentId)
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user