11 2020 档案
摘要:<el-select v-model="value" filterable placeholder="请选择" @change="select"> <el-option v-for="item in options" :key="item.value" :label="item.label" :va
阅读全文
摘要:以下为一层嵌套 <el-form-item v-for="(item,itemIndex) in form.button" :key="item.itemIndex" label="一级菜单" > <el-form-item :prop="'button.'+ itemIndex + '.name'
阅读全文
摘要:this.arr.filter((c,i,a)=>{//第一个参数为当前项,第二个参数为索引,第三个为原值 var hh = that.list.filter(function (c, i, a) {//第一个参数为当前项,第二个参数为索引,第三个为原值 if (c.id == that.curre
阅读全文
摘要:<el-select v-model="value8" filterable placeholder="请选择" value-key="id" @change="currentSel"> <el-option v-for="item in options" :key="item.id" :label
阅读全文