element中的el-select中多选回显数据后没法重新选择和更改

<el-select v-model="mech.dateIds" placeholder="请选择" multiple clearable @change="$forceUpdate()">
	<el-optionv-for="item in dateList" :key="item.value" :label="item.label" :value="item.value">
	</el-option>
</el-select>

添加: 
@change="$forceUpdate()"

猜你喜欢

转载自blog.csdn.net/qq_38881495/article/details/131596301