修复使用ts模式时不能按需引入组件的问题
This commit is contained in:
parent
9837e9af02
commit
539e96c58c
58 changed files with 92 additions and 92 deletions
4
types/carousel.d.ts
vendored
4
types/carousel.d.ts
vendored
|
@ -4,7 +4,7 @@
|
|||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue from 'vue';
|
||||
|
||||
export declare interface Carousel extends Vue {
|
||||
export declare class Carousel extends Vue {
|
||||
/**
|
||||
* 幻灯片的索引,从 0 开始,可以使用 v-model 双向绑定数据
|
||||
* @default 0
|
||||
|
@ -60,6 +60,6 @@ export declare interface Carousel extends Vue {
|
|||
$emit(eventName: 'on-change', oldValue: number, value: number): this;
|
||||
}
|
||||
|
||||
export declare interface CarouselItem extends Vue {
|
||||
export declare class CarouselItem extends Vue {
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue