From 5fdea06fbfc49a8ae8f20054db6b27fcf4ade75f Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 04 七月 2024 00:34:19 +0800 Subject: [PATCH] 一些更新 --- src/utils/propTypes.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/propTypes.ts b/src/utils/propTypes.ts index 16cf9cd..b4f0623 100644 --- a/src/utils/propTypes.ts +++ b/src/utils/propTypes.ts @@ -20,13 +20,13 @@ // 浠� vue-types v5.0 寮�濮嬶紝extend()鏂规硶宸茬粡搴熷純锛屽綋鍓嶅凡鏀逛负瀹樻柟鎺ㄨ崘鐨凟S6+鏂规硶 https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#the-extend-method class propTypes extends newPropTypes { // a native-like validator that supports the `.validable` method - static get style() { + static override get style() { return toValidableType('style', { type: [String, Object], }); } - static get VNodeChild() { + static override get VNodeChild() { return toValidableType('VNodeChild', { type: undefined, }); -- Gitblit v1.9.3