is supposed to show the value of the v-el, and
placeholder is supposed to show the value of the V-model. If temp.status is null then placeholder will be displayed.
temp.status is not placeholder
Guys, the el-select drop-down in the element component shows values in placeholder by default, Why am I displaying the values in the v-model?
<el-form-item :label="$t('table.status')">
<el-select v-model="temp.status" class="filter-item" placeholder="123">
<el-option v-for="item in statusOptions" :key="item" :label="item" :value="item" />
</el-select>
</el-form-item>
0 Answer
is supposed to show the value of the v-el, and
placeholder is supposed to show the value of the V-model. If temp.status is null then placeholder will be displayed.
temp.status is not placeholder
这家伙很懒,什么都没留下...