From ed0b7336de253c423d9d44fe15daec33703d2860 Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.coom> Date: Sat, 7 Dec 2019 18:03:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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