refactor type check (#915)
refactor type check (#915)


lvuch/ui,rancherio/ui,pengjiang80/ui,lvuch/ui,westlywright/ui,vincent99/ui,rancher/ui,rancherio/ui,vincent99/ui,rancherio/ui,rancher/ui,westlywright/ui,lvuch/ui,pengjiang80/ui,vincent99/ui,westlywright/ui,rancher/ui,pengjiang80/ui