Commit c734ea7c57fa79a3d22eca23e6fa8e7d5f345618

Authored by yangd
1 parent c3874ee1

修复#4465

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
types/loading-bar.d.ts
@@ -4,7 +4,9 @@ @@ -4,7 +4,9 @@
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 import Vue, { VNode } from 'vue'; 5 import Vue, { VNode } from 'vue';
6 6
7 -export declare interface LoadingBar { 7 +export const LoadingBar: LoadingBarClass
  8 +
  9 +declare interface LoadingBarClass {
8 /** 10 /**
9 * 开始从 0 显示进度条,并自动加载进度 11 * 开始从 0 显示进度条,并自动加载进度
10 */ 12 */
@@ -56,6 +58,6 @@ declare module 'vue/types/vue' { @@ -56,6 +58,6 @@ declare module 'vue/types/vue' {
56 /** 58 /**
57 * 加载进度条 59 * 加载进度条
58 */ 60 */
59 - $Loading: LoadingBar; 61 + $Loading: LoadingBarClass;
60 } 62 }
61 } 63 }
62 \ No newline at end of file 64 \ No newline at end of file