vue 动态添加div
<div v-for="(item,index) in editSchProps" :key="index"><el-form-item :label="item.code+'编码'" prop="code" :rules="userRules"><el-input v-model="item.code" :maxlength="10...
·
<div v-for="(item,index) in editSchProps" :key="index" > <el-form-item :label="item.code+'编码'" prop="code" :rules="userRules"> <el-input v-model="item.code" :maxlength="10" :disabled="schReadOnly" style="width:190px" @change="handleSchCodeChange(index,item.code)" disabled="true"> <el-button slot="append" icon="el-icon-tickets"></el-button> </el-input> </el-form-item> <el-form-item label="面积(平方米)" prop="acreage"> <el-input v-model="item.acreage" disabled style="width:190px"></el-input> </el-form-item> </div>
更多推荐
已为社区贡献1条内容
所有评论(0)