[update] 消息详情只展示动态消息详情

This commit is contained in:
lideqin
2024-09-19 10:38:39 +08:00
parent 40cacf363b
commit 84389cfbaa
+3 -4
View File
@@ -47,9 +47,9 @@ export default {
data () {
return {
loading: false,
model: {},
title: '',
isDynamic: false // 是动态消息
model: {}
// title: '',
// isDynamic: false // 是动态消息
}
},
mounted () {
@@ -61,7 +61,6 @@ export default {
this.loading = true
getDynamicMessageById({ id: this.$route.query.id, type: 'query' }).then(res => {
if (res.success) {
this.isDynamic = true
this.model = Object.assign({}, res.result || {})
} else {
this.$message(res.message)