项目中多次用到,记录一下
<div class="checkParam">
<el-dialog
width="50%"
title="请输入拒绝原因"
:visible.sync="checkParam"
:showClose="false"
:close-on-click-modal="false"
>
<p class="refund-msg">
<el-input
type="textarea"
maxlength="500"
show-word-limit
v-model="searchData.idCardType"
placeholder="请输入拒绝原因"
autosize
></el-input>
</p>
<span slot="footer" class="dialog-footer">
<el-button class="blueBtn" @click="statusType">提交</el-button>
<el-button class="redBtn" @click="checkParam = false">取消</el-button>
</span>
</el-dialog>
</div>
return:{
data(){
checkParam: false,
}
}
.refund-msg /deep/ .el-textarea__inner {
min-height: 88px !important;
}