|
|
@ -153,12 +153,9 @@ 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) { |
|
|
|
return this.$message.error('您输入的的内容已超过字数不能提交') |
|
|
|
} else if (this.dataForm.noticeContent.length === 0) { |
|
|
|
if (this.dataForm.noticeContent.length === 0) { |
|
|
|
return this.$message.error('通知内容不能空') |
|
|
|
} |
|
|
|
} else { |
|
|
|