-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.6.4
Environment
win10x64, "vue": "^2.6.11",
Steps to reproduce
1.不会初始化赋值
2.希望能提示自定义的接口,比如下面的record
<a-form-model layout="inline" :model="formInline">
import {record} from "@/_models/models";
import {FormModel} from 'ant-design-vue'
formInline: FormModel & recrod = {}}; // 报错
怎么做呢?
What is expected?
。。。
What is actually happening?
不会初始化赋值
TS2322: Type '{}' is not assignable to type 'FormModel & record'.