|
|
@ -395,9 +395,9 @@ export default { |
|
|
}, 1000, { 'leading': true, 'trailing': false }), |
|
|
}, 1000, { 'leading': true, 'trailing': false }), |
|
|
// 存草稿 |
|
|
// 存草稿 |
|
|
draftDataFormSubmitHandle: debounce(function () { |
|
|
draftDataFormSubmitHandle: debounce(function () { |
|
|
if ((this.dataForm.newsContent).length > 10000) { |
|
|
// if ((this.dataForm.newsContent).length > 10000) { |
|
|
return this.$message.error('您输入的的内容已超过字数不能提交') |
|
|
// return this.$message.error('您输入的的内容已超过字数不能提交') |
|
|
} |
|
|
// } |
|
|
this.$refs['dataForm'].validate((valid) => { |
|
|
this.$refs['dataForm'].validate((valid) => { |
|
|
if (!valid) { |
|
|
if (!valid) { |
|
|
return false |
|
|
return false |
|
|
|