Commit 845325b2fbfa7cf69ead4c62f67eb5609b63e6c3

Authored by Aresn
Committed by GitHub
2 parents 0e5d42aa 964b8437

Merge pull request #4933 from yangdan8/2.0_修复#4465

2.0 修复#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 +export 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