修复几个组件的d.ts定义内容
This commit is contained in:
parent
2a21b455a3
commit
12c24293ae
4 changed files with 5 additions and 5 deletions
2
types/loading-bar.d.ts
vendored
2
types/loading-bar.d.ts
vendored
|
@ -6,7 +6,7 @@ import Vue from 'vue';
|
|||
|
||||
export const LoadingBar: LoadingBarClass;
|
||||
|
||||
export declare class LoadingBarClass {
|
||||
export declare class LoadingBarClass extends Vue {
|
||||
/**
|
||||
* 开始从 0 显示进度条,并自动加载进度
|
||||
*/
|
||||
|
|
2
types/message.d.ts
vendored
2
types/message.d.ts
vendored
|
@ -4,7 +4,7 @@
|
|||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue, { VNode, CreateElement } from "vue";
|
||||
|
||||
export declare class Message {
|
||||
export declare class Message extends Vue {
|
||||
/**
|
||||
* 消息
|
||||
* @param config MessageConfig为相关配置,string为待显示的内容
|
||||
|
|
4
types/modal.d.ts
vendored
4
types/modal.d.ts
vendored
|
@ -4,7 +4,7 @@
|
|||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue, { VNode, CreateElement } from "vue";
|
||||
|
||||
export declare class Modal {
|
||||
export declare class Modal extends Vue {
|
||||
/**
|
||||
* 对话框是否显示,可使用 v-model 双向绑定数据。
|
||||
* @default false
|
||||
|
@ -128,7 +128,7 @@ export declare class Modal {
|
|||
};
|
||||
}
|
||||
|
||||
export declare class ModalInstance {
|
||||
export declare class ModalInstance extends Modal {
|
||||
/**
|
||||
* 消息
|
||||
* @param config ModalConfig为相关配置,string为待显示的内容
|
||||
|
|
2
types/notice.d.ts
vendored
2
types/notice.d.ts
vendored
|
@ -4,7 +4,7 @@
|
|||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue, { VNode, CreateElement } from "vue";
|
||||
|
||||
export declare class Notice {
|
||||
export declare class Notice extends Vue {
|
||||
/**
|
||||
* 打开
|
||||
* @param config NoticeConfig为相关配置,string为待显示的内容
|
||||
|
|
Loading…
Reference in a new issue