diff --git a/src/views/modules/news/news-add-or-update.vue b/src/views/modules/news/news-add-or-update.vue index 365e99d1..89a6bb3a 100644 --- a/src/views/modules/news/news-add-or-update.vue +++ b/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) }