From 923672600674cb9bd04a200e293f0f9cd84f035d Mon Sep 17 00:00:00 2001 From: xingyu Date: Fri, 13 Jan 2023 22:40:04 +0800 Subject: [PATCH] fix: vueTypes warn --- yudao-ui-admin-vue3/src/utils/propTypes.ts | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/yudao-ui-admin-vue3/src/utils/propTypes.ts b/yudao-ui-admin-vue3/src/utils/propTypes.ts index 5d685f318..fb8f84e70 100644 --- a/yudao-ui-admin-vue3/src/utils/propTypes.ts +++ b/yudao-ui-admin-vue3/src/utils/propTypes.ts @@ -17,13 +17,12 @@ const propTypes = createTypes({ // 需要自定义扩展的类型 // see: https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#the-extend-method -propTypes.extend([ - { - name: 'style', - getter: true, - type: [String, Object], - default: undefined - } -]) - +// propTypes.extend([ +// { +// name: 'style', +// getter: true, +// type: [String, Object], +// default: undefined +// } +// ]) export { propTypes }