在编辑的时候可能需要回填你开始利用远程搜索选好的那些选项。
<el-form :model="editForm" label-width="80px" :rules="editFormRules" ref="editForm">
<el-form-item label="主讲老师" prop="mainteachername" style="width:370px">
<el-select v-model="mainteacherid" filterable remote placeholder="请输入姓名或手机号筛选" clearable :remote-method="getTeacherLists" :loading="loading" ref="mainteachername" :value="mainteachername">
<el-option
v-for="item in mainteacherlist"