Commit 923672600674cb9bd04a200e293f0f9cd84f035d
1 parent
fb65423b
fix: vueTypes warn
Showing
1 changed file
with
8 additions
and
9 deletions
yudao-ui-admin-vue3/src/utils/propTypes.ts
| @@ -17,13 +17,12 @@ const propTypes = createTypes({ | @@ -17,13 +17,12 @@ const propTypes = createTypes({ | ||
| 17 | 17 | ||
| 18 | // 需要自定义扩展的类型 | 18 | // 需要自定义扩展的类型 |
| 19 | // see: https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#the-extend-method | 19 | // see: https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#the-extend-method |
| 20 | -propTypes.extend([ | ||
| 21 | - { | ||
| 22 | - name: 'style', | ||
| 23 | - getter: true, | ||
| 24 | - type: [String, Object], | ||
| 25 | - default: undefined | ||
| 26 | - } | ||
| 27 | -]) | ||
| 28 | - | 20 | +// propTypes.extend([ |
| 21 | +// { | ||
| 22 | +// name: 'style', | ||
| 23 | +// getter: true, | ||
| 24 | +// type: [String, Object], | ||
| 25 | +// default: undefined | ||
| 26 | +// } | ||
| 27 | +// ]) | ||
| 29 | export { propTypes } | 28 | export { propTypes } |