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