Vue element radio box group

html
<el-row v-for="menu in formInline6" :key="menu.key" :gutter="20" >
      <el-col :span="4" class="in-left" style="padding-left:0;">
           <label for="radio" class="line-height1">{{menu.titleName}}</label>
      </el-col>
      <el-col :span="18" class="in-left">
          <el-radio-group id="radio" v-model="menu.radio">
              <el-radio  v-for="item in menu.children" :key="item.label" :label="item.val" border>{{item.describe}}</el-radio>
          </el-radio-group>
      </el-col>
</el-row>
js
data(){
    retrun:{
        radio1:5,
        radio2:5,
        radio3:5,
        formInline6:[
          {radio:this.radio1,titleName:"1.",key:1,children:[
            {label:1,val:0,describe:""},
            {label:2,val:5,describe:""},
            {label:3,val:10,describe:""},
          ]},
          {radio:this.radio2,titleName:"2.-",key:2,children:[
            {label:1,val:0,describe:""},
            {label:2,val:5,describe:""},
            {label:3,val:10,describe:""},
            {label:4,val:15,describe:""},
          ]},
          {radio:this.radio3,titleName:"3.",key:3,children:[
            {label:1,val:0,describe:""},
            {label:2,val:5,describe:""},
          ]},
        ],
    }
}

look at the error prompt should not be the problem of this code. In elform, the model value is expected to be an object, but yours is an array


you see where the bound value is "model", and see that the error prompt is not in this code


generally you can find the error in the error prompt. Do you want to try to solve this problem by yourself? Can you improve your level and work efficiency by asking questions directly?

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