[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 () { data () {
return { return {
loading: false, loading: false,
model: {}, model: {}
title: '', // title: '',
isDynamic: false // 是动态消息 // isDynamic: false // 是动态消息
} }
}, },
mounted () { mounted () {
@@ -61,7 +61,6 @@ export default {
this.loading = true this.loading = true
getDynamicMessageById({ id: this.$route.query.id, type: 'query' }).then(res => { getDynamicMessageById({ id: this.$route.query.id, type: 'query' }).then(res => {
if (res.success) { if (res.success) {
this.isDynamic = true
this.model = Object.assign({}, res.result || {}) this.model = Object.assign({}, res.result || {})
} else { } else {
this.$message(res.message) this.$message(res.message)