diff --git a/types/iview.components.d.ts b/types/iview.components.d.ts index fbe6e412..1f155e31 100644 --- a/types/iview.components.d.ts +++ b/types/iview.components.d.ts @@ -83,7 +83,7 @@ export default API; declare module 'vue/types/vue' { interface Vue { - $IVIEW?: { + $IVIEW: { size?: string; transfer?: string; }; diff --git a/types/loading-bar.d.ts b/types/loading-bar.d.ts index 99133980..d25c4f18 100644 --- a/types/loading-bar.d.ts +++ b/types/loading-bar.d.ts @@ -56,6 +56,6 @@ declare module 'vue/types/vue' { /** * 加载进度条 */ - $Loading?: LoadingBar; + $Loading: LoadingBar; } } \ No newline at end of file diff --git a/types/message.d.ts b/types/message.d.ts index 6ecabb78..73739131 100644 --- a/types/message.d.ts +++ b/types/message.d.ts @@ -76,7 +76,7 @@ declare module 'vue/types/vue' { /** * 全局提示 */ - $Message?: Message; + $Message: Message; } } diff --git a/types/modal.d.ts b/types/modal.d.ts index 2a015f6a..d507d8d4 100644 --- a/types/modal.d.ts +++ b/types/modal.d.ts @@ -218,6 +218,6 @@ declare module 'vue/types/vue' { /** * 对话框 */ - $Modal?: ModalInstance; + $Modal: ModalInstance; } } \ No newline at end of file diff --git a/types/notice.d.ts b/types/notice.d.ts index 60f0aa88..e40324e1 100644 --- a/types/notice.d.ts +++ b/types/notice.d.ts @@ -87,6 +87,6 @@ declare module 'vue/types/vue' { /** * 通知提醒 */ - $Notice?: Notice; + $Notice: Notice; } } \ No newline at end of file diff --git a/types/spin.d.ts b/types/spin.d.ts index 14b7dd41..d363bb89 100644 --- a/types/spin.d.ts +++ b/types/spin.d.ts @@ -30,6 +30,6 @@ declare module 'vue/types/vue' { /** * */ - $Spin?: Spin; + $Spin: Spin; } } \ No newline at end of file