From b0d5b935a6dc3176729a92a94f4a8979710f155f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B2=E6=A0=91=E9=80=9A?= <1976590620@qq.com> Date: Wed, 29 Jan 2020 18:38:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=96=B0=E9=97=BB=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E5=86=85=E5=AE=B9=E5=AD=97=E6=95=B0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/news/news-publish.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/modules/news/news-publish.vue b/src/views/modules/news/news-publish.vue index b42de5b8..478806ab 100644 --- a/src/views/modules/news/news-publish.vue +++ b/src/views/modules/news/news-publish.vue @@ -327,9 +327,9 @@ export default { // 监听内容变化,动态赋值 this.quillEditor.on('text-change', () => { this.dataForm.newsContent = this.quillEditor.root.innerHTML - if ((this.dataForm.newsContent).length > 10000) { - return this.$message.error('您输入的的内容已超过字数') - } + // if ((this.dataForm.newsContent).length > 10000) { + // return this.$message.error('您输入的的内容已超过字数') + // } }) }, // 上传图片之前 (富文本) @@ -353,9 +353,9 @@ export default { // 上传图片end // 表单提交 dataFormSubmitHandle: debounce(function () { - if ((this.dataForm.newsContent).length > 10000) { - return this.$message.error('您输入的的内容已超过字数不能提交') - } + // if ((this.dataForm.newsContent).length > 10000) { + // return this.$message.error('您输入的的内容已超过字数不能提交') + // } this.$refs['dataForm'].validate((valid) => { if (!valid) { return false