前端代码:

<el-form size="small" label-width="60px">

<br />

<el-form-item label="原因" v-if="checkradio=='2'">

<el-input

type="textarea"

class="input-width"

placeholder="最多输入50个字"

maxlength="50"

@input="checkSize"

v-model="auditReson"

></el-input>

</el-form-item>

</el-form>

 

//审核不通过字数控制50以内

checkSize() {

var txtLength = this.auditReson.length;

this.titleMaxLength = 50 - txtLength;

},

Logo

前往低代码交流专区

更多推荐