Skip to content
New issue

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

按需加载formItem中的元素会报未设置初始值警告 #110

Closed
1 task
nabaonan opened this issue Aug 8, 2018 · 2 comments
Closed
1 task

按需加载formItem中的元素会报未设置初始值警告 #110

nabaonan opened this issue Aug 8, 2018 · 2 comments

Comments

@nabaonan
Copy link
Contributor

nabaonan commented Aug 8, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.0.2

Environment

windows10 chrome67.0.3396.99 vue2.5.16

Reproduction link

Edit on CodeSandbox

Steps to reproduce

按需加载form模块,给formItem 的fieldDecoratorOptions的initialValue赋初始值,但是控制台还是警告没有设置初始值,但是全量加载不会出现这个警告

What is expected?

如果正确设置,控制台不出现警告,

What is actually happening?

按需加载,即便设置initialValue了,控制台还是提示要设置options.initialValue

@tangjinzhou
Copy link
Member

codesand 不能正确运行

@lock
Copy link

lock bot commented Aug 11, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants