From 85956e47d3d2a0b025d5b50d91c057bdf0638e32 Mon Sep 17 00:00:00 2001 From: Jackwang Date: Tue, 31 Aug 2021 09:56:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E5=9B=9E=E6=98=BEbug?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/news/notice-add-or-update.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/modules/news/notice-add-or-update.vue b/src/views/modules/news/notice-add-or-update.vue index cd09fe1..5c45de2 100644 --- a/src/views/modules/news/notice-add-or-update.vue +++ b/src/views/modules/news/notice-add-or-update.vue @@ -263,6 +263,7 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function () { + console.log(this.dataForm.noticeContent) if (this.dataForm.noticeContent != null && this.dataForm.noticeContent !== undefined) { this.dataForm.noticeContent = this.removeHTMLTag(this.dataForm.noticeContent) if ((this.dataForm.noticeContent).length > 10000) { @@ -277,7 +278,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/news/notice', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/news/notice/saveOrUpContent', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) }