Browse Source

新闻修改bug

master
qushutong 6 years ago
parent
commit
52794a6029
  1. 2
      src/views/modules/news/news-add-or-update.vue

2
src/views/modules/news/news-add-or-update.vue

@ -356,7 +356,7 @@ export default {
if (!valid) {
return false
}
this.$http['post']('/news/news/publish', this.dataForm).then(({ data: res }) => {
this.$http['put']('/news/news/', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

Loading…
Cancel
Save