ttl 提示
This commit is contained in:
@@ -152,7 +152,7 @@
|
||||
<Form :model="noteForm" :label-width="80">
|
||||
<div id="wrapper" style="border-left: 0px solid #FF3366;">
|
||||
<Input element-id="noteText" type="textarea" :border="false" v-model="noteForm.text" autofocus
|
||||
:autosize="{ minRows: 30, maxRows: 20480 }" :placeholder="$t('content.noteTip')" @input="recordText"
|
||||
:autosize="{ minRows: 30, maxRows: 409600 }" :placeholder="$t('content.noteTip')" @input="recordText"
|
||||
@on-keydown="recordEventKdown"/>
|
||||
</div>
|
||||
</Form>
|
||||
@@ -341,7 +341,7 @@ export default {
|
||||
},
|
||||
recordText() {
|
||||
let text = this.noteForm.text;
|
||||
if (text.length > 204800) {
|
||||
if (text.length > 409600) {
|
||||
this.errorInfo = this.$t('error.100012');
|
||||
this.model.showError = true;
|
||||
return;
|
||||
@@ -370,7 +370,7 @@ export default {
|
||||
let end = event.currentTarget.selectionEnd;
|
||||
let text = event.currentTarget.value;
|
||||
|
||||
if (text.length > 204800) {
|
||||
if (text.length > 409600) {
|
||||
this.errorInfo = this.$t('error.100012');
|
||||
this.model.showError = true;
|
||||
return;
|
||||
@@ -416,7 +416,7 @@ export default {
|
||||
},
|
||||
validateForm() {
|
||||
let text = this.noteForm.text;
|
||||
if (text.length > 204800) {
|
||||
if (text.length > 409600) {
|
||||
this.errorInfo = this.$t('error.100012');
|
||||
this.model.showError = true;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user