修复使用ts模式时不能按需引入组件的问题
This commit is contained in:
parent
9837e9af02
commit
539e96c58c
58 changed files with 92 additions and 92 deletions
4
types/date-picker.d.ts
vendored
4
types/date-picker.d.ts
vendored
|
@ -4,7 +4,7 @@
|
|||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare interface DatePicker extends Vue {
|
||||
export declare class DatePicker extends Vue {
|
||||
/**
|
||||
* 显示类型,可选值为 date、daterange、datetime、datetimerange、year、month'|'默认值date
|
||||
*/
|
||||
|
@ -146,7 +146,7 @@ export declare interface DatePicker extends Vue {
|
|||
};
|
||||
}
|
||||
|
||||
export declare interface DatePickerOptions {
|
||||
export declare class DatePickerOptions {
|
||||
/**
|
||||
* 设置快捷选项,每项内容:
|
||||
* text:显示的文案
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue