[update] 消息详情只展示动态消息详情
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user