update 动态消息
This commit is contained in:
@@ -54,7 +54,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initData () {
|
initData () {
|
||||||
getDynamicMessageById({ id: this.$route.query.id }).then(res => {
|
getDynamicMessageById({ id: this.$route.query.id, type: 'query' }).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.detailData = Object.assign({}, res.result || {})
|
this.detailData = Object.assign({}, res.result || {})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
initFormData () {
|
initFormData () {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getDynamicMessageById({ id: this.$route.query.id }).then(res => {
|
getDynamicMessageById({ id: this.$route.query.id, type: 'edit' }).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.modal = res.result || {}
|
this.modal = res.result || {}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user