Browse Source

存草稿去掉字数内容显示

master
曲树通 6 years ago
parent
commit
59d5549c8b
  1. 6
      src/views/modules/news/news-publish.vue

6
src/views/modules/news/news-publish.vue

@ -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

Loading…
Cancel
Save