The assignment is not displayed when editing the echo of the select component of iview

when the select component of iview edits the echo, the assignment does not show


<Select style="width:170px" v-model="editorform.pest_id" filterable  clearable>
 <Option v-for="item in editorform.pestType" :value="item.value" :key="item.value">{{ item.label }}</Option>
</Select>

js:
this.editorform.pest_id =l.pest_id;

clipboard.png

Oct.05,2021

I have also encountered this problem. When you choose more than one, it will not be echoed. Have you solved it?


me, too. That's how I say
, but it still doesn't work

.
                        <select class="address-select"   v-model="prov">
                            <option disabled value=""></option>
                            <option v-for="option in arr" :value="option.name" >
                                {{ option.name }}
                            </option>
                        </select>

1. Check whether editorform.pest_id is congruent value
2. Update manually using the $set method

this.$set(this.editorform,"pest_id",l.pest_id);
Just update the

vue.js version to the latest!


have you solved it

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e60a7f-458ca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e60a7f-458ca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?