mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
fix: vueTypes warn
This commit is contained in:
parent
fb65423b62
commit
9236726006
@ -17,13 +17,12 @@ const propTypes = createTypes({
|
|||||||
|
|
||||||
// 需要自定义扩展的类型
|
// 需要自定义扩展的类型
|
||||||
// see: https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#the-extend-method
|
// see: https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#the-extend-method
|
||||||
propTypes.extend([
|
// propTypes.extend([
|
||||||
{
|
// {
|
||||||
name: 'style',
|
// name: 'style',
|
||||||
getter: true,
|
// getter: true,
|
||||||
type: [String, Object],
|
// type: [String, Object],
|
||||||
default: undefined
|
// default: undefined
|
||||||
}
|
// }
|
||||||
])
|
// ])
|
||||||
|
|
||||||
export { propTypes }
|
export { propTypes }
|
||||||
|
Loading…
Reference in New Issue
Block a user