1.使用v-for渲染时 由于从后端获取到的对象是一个不固定长度的列表(比如: 会员等级),因此该字段只能通过v-for来实现 <el-form :model="productParam" ref="productPromotionForm" :rules="promotionRules" label-width="90px" size="small"> <el-form-item v-show="productParam.promotionType===2"> <div v-for="(item, index) in userLevelList" :key="index">