We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.0-alpha.14
vue 3.2.20 Chrome 96.0.4664.45 windows 11
https://p3-tt.byteimg.com/origin/user-profile/3aafd8ce147a6455819297c0475de879.png
vscode 中 使用TSX map动态渲染表单 FormItm组件 <FormItem name={['formData', index, 'input_value']} label={item.name} rules={{ required: item.required, message: item.describe }}
FormItem name类型检测通过
FormItem name类型定义是否应该是string | number | Array<number | string>
vscode 提示name参数 不能将类型“string”分配给类型“number”。
The text was updated successfully, but these errors were encountered:
0a404e8
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
No branches or pull requests
Version
3.0.0-alpha.14
Environment
vue 3.2.20 Chrome 96.0.4664.45 windows 11
Reproduction link
https://p3-tt.byteimg.com/origin/user-profile/3aafd8ce147a6455819297c0475de879.png
Steps to reproduce
vscode 中 使用TSX map动态渲染表单 FormItm组件
<FormItem
name={['formData', index, 'input_value']}
label={item.name}
rules={{ required: item.required, message: item.describe }}
What is expected?
FormItem name类型检测通过
FormItem name类型定义是否应该是string | number | Array<number | string>
What is actually happening?
vscode 提示name参数 不能将类型“string”分配给类型“number”。
The text was updated successfully, but these errors were encountered: