diff --git a/src/views/modules/news/notice-add-or-update.vue b/src/views/modules/news/notice-add-or-update.vue index 05d03f6c..0cbe3576 100644 --- a/src/views/modules/news/notice-add-or-update.vue +++ b/src/views/modules/news/notice-add-or-update.vue @@ -207,11 +207,11 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function () { - if(this.dataForm.noticeContent != null && this.dataForm.noticeContent != undefined ){ + if (this.dataForm.noticeContent != null && this.dataForm.noticeContent !== undefined) { if ((this.dataForm.noticeContent).length > 10000) { return this.$message.error('您输入的的内容已超过字数不能提交') } - } + } this.$refs['dataForm'].validate((valid) => { if (!valid) { return false