!that.isMultiple && values.length > 1 && (values.length = 1);
作用是,如果挂载的是单选框时把数组截断,保证只会把数组中第一个变为selected