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