Vue element ui el-radio-group automatically selects bug, 's very strange mysterious bug.

when I make changes to a form, the option from the background is automatically filled in by v-modle.

something strange has happened! For the same code, one can be selected automatically, but not the other

<el-radio-group v-model="gender" @change="handleGender">
       <el-radio-button v-for="x,key in att.gender" :key=key :label=x.value >{{x.label}}</el-radio-button>
</el-radio-group>

<el-radio-group v-model="chinese" @change="handleSpeakChinese">
       <el-radio-button v-for  ="x,key in att.chinese" :key=key :label=x.label></el-radio-button>
</el-radio-group>

clipboard.png

look at the pictures, all v-model have value! Why is one selected and the other not!


paste the js code. The value of two v-model bindings should be questionably set by the default value of model.


the value of chinese is obviously not in the att.chinese array

.
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-1bdf68a-31483.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-1bdf68a-31483.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?