<el-select v-model="postForm.roleId" placeholder="" @change="selectBD">
<el-option
v-for="item in roleList"
:key="item.id"
:value="item.id"
:label="item.name" />
</el-select>
roleList and postFrom.roleId are both obtained through the API and can be assigned correctly, but when you select the switch later, the postForm.roleId will change correctly, but the ui will not be updated, as shown in the figure. No matter how to switch, the postFrom.roleId is correct, but the ui remains the same.