修复使用ts模式时不能按需引入组件的问题
This commit is contained in:
parent
9837e9af02
commit
539e96c58c
58 changed files with 92 additions and 92 deletions
4
types/form.d.ts
vendored
4
types/form.d.ts
vendored
|
@ -4,7 +4,7 @@
|
|||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue, { VNode } from 'vue';
|
||||
|
||||
export declare interface Form extends Vue {
|
||||
export declare class Form extends Vue {
|
||||
/**
|
||||
* 表单数据对象
|
||||
*/
|
||||
|
@ -46,7 +46,7 @@ export declare interface Form extends Vue {
|
|||
resetFields(): void;
|
||||
}
|
||||
|
||||
export declare interface FormItem extends Vue {
|
||||
export declare class FormItem extends Vue {
|
||||
/**
|
||||
* 对应表单域 model 里的字段
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue