Iview select echo data, number type cannot be verified

https://run.iviewui.com/Kkuaz9G0

see for yourself.
data-> cancel-> data
result, the select will not be verified.

<template>
  <div>
    <Form ref="valids" :model="device" :rules="ruless" :label-width="120">
      <FormItem label="" prop="name">
                      <Input v-model="device.name" placeholder=""></Input>
         </FormItem>      
      <FormItem label="    " prop="type.id">
              <Select v-model="device.type.id" placeholder="" :transfer="true">
                <Option v-for="(item,index) in datas" :value="item.id" :key=""type"+index">{{item.name}}</Option>
              </Select>
            </FormItem>
        </Form>
    
    <button type="info" @click="bb">
      
    </button>
    <button type="info" @click="bbc">
      cancel
    </button>
  </div>
</template>
<script>
  export default {
    data () {
      return {
        device:{
          type: {
            id: null
          }
        },
        datas: [{
          id:65,
          name: "type1"
        },{
          id:66,
          name: "type2"
        }],
        ruless: {
        name: [{ required: true, message: "", trigger: "blur" }, { required: true, message: "", trigger: "change" }],
        "type.id": [{ required: true, message: "", trigger: "blur", type: "number" }, { required: true,
          message: "",
          trigger: "change",
          type: "number" }]
      },
      }
    },
    methods: {
      bb () {
        this.device = {
          id:4,
          name: "test1",
          type: {
            name: "type1",
            id:65
          }
        }
      },
       bbc () {
        this.device = {
          type: {
            id:null
          }
        }
      },
    },
    mounted () {
      
    }
  }
</script>
<style>

</style>
Sep.07,2021

validator defaults to your type is String,. You need to add type:'number'

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