VUE奇遇【Invalid prop: type check failed for prop】

[Vue warn]: Invalid prop: type check failed for prop "xxx". Expected Number with value 000, got String with value "000".

解决办法:在子组件的type设置为type: [Number, String],其他类型同理。