修复使用ts模式时不能按需引入组件的问题

This commit is contained in:
yangd 2019-05-07 17:14:49 +08:00
parent 9837e9af02
commit 539e96c58c
58 changed files with 92 additions and 92 deletions

4
types/checkbox.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue';
export declare interface Checkbox extends Vue {
export declare class Checkbox extends Vue {
/**
* 使使 v-model
* @default false
@ -44,7 +44,7 @@ export declare interface Checkbox extends Vue {
$emit(eventName: 'on-change', value: boolean): this;
}
export declare interface CheckboxGroup extends Vue {
export declare class CheckboxGroup extends Vue {
/**
* 使 v-model
* @default []