Vue iview checkbox assignment

<CheckboxGroup v-model="fruit">
     <Checkbox v-for="(item,key) in historyData" :key="item.id" :label="item.id" :value="item.id" size="large" @on-change="select">
                         <span>{{item.name}}</span>
     </Checkbox>
</CheckboxGroup>
var vue =  new Vue({
    el: "-sharpapp",
    data (){
        return {
            historyData:[],
            fruit: []
        }
    },
    methods: {
        // 1
        querytable(evt){
            var dataSource = [];
            $.ajax({ 
                url: "/userRole/getRoles", 
                type:"post",
                data: {
                },
                async : false,
                dataType:"json",
                success: function(data){
                    if(data.type == "success"){
                        dataSource = data;
                    }
              }}); 
                  this.historyData = dataSource.list;
                 for (var i = 0; i < dataSource.list.length; iPP) {
                     this.fruit.push(dataSource.list[i].id)
                }
      },
      select(){
          console.log(this.fruit);
      }
    },
      //
         created () {
          this.querytable();
        }
    });

question 1 cannot display value
how to get the selected value when question 2 is submitted
A novice asks for advice ~

Mar.14,2021

<CheckboxGroup v-model="fruit" @on-change="select()">
     <Checkbox v-for="(item,key) in historyData" :key="item.id" :label="item.id" :value="item.id" size="large">
          <span>{{item.name}}</span>
     </Checkbox>
</CheckboxGroup>

solved, encountered the old problem, in html < del > ~ < / del > ~ so many times did not improve the memory.
CheckboxGroup tag replaced with checkbox-group

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