-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Cascader使用nzLoadData时的错误 #1927
Labels
Comments
@huruomin Thanks for your feedback. We will look into this. |
wzhudev
pushed a commit
to wzhudev/ng-zorro-antd
that referenced
this issue
Aug 6, 2018
3 tasks
hsuanxyz
pushed a commit
that referenced
this issue
Aug 19, 2018
* fix(module:cascader): fix dynamic loading error close #1927 * fix test
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. |
hsuanxyz
pushed a commit
to hsuanxyz/ng-zorro-antd
that referenced
this issue
Aug 5, 2020
* fix(module:cascader): fix dynamic loading error close NG-ZORRO#1927 * fix test
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
1.3.0
Environment
Mac Chrome
Reproduction link
https://ng-zorro-antd-start.stackblitz.io
Steps to reproduce
直接官网即可重现:
1、打开:https://ng.ant.design/components/cascader/zh
2、定位到“动态加载选项”的demo
3、随便选定一个leaf选项
4、点叉清空已选择的选项
5、再次尝试去下拉选择时,报错:
ERROR TypeError: Cannot read property 'length' of undefined
at n.loadRootOptions (main.9ad12f74ccc84f888c4c.js:1)
at n.beforeVisible (main.9ad12f74ccc84f888c4c.js:1)
at n.setMenuVisible (main.9ad12f74ccc84f888c4c.js:1)
at main.9ad12f74ccc84f888c4c.js:1
at t.invokeTask (polyfills.972894ed752435a22ec0.js:1)
at Object.onInvokeTask (main.9ad12f74ccc84f888c4c.js:1)
at t.invokeTask (polyfills.972894ed752435a22ec0.js:1)
at r.runTask (polyfills.972894ed752435a22ec0.js:1)
at e.invokeTask (polyfills.972894ed752435a22ec0.js:1)
at invoke (polyfills.972894ed752435a22ec0.js:1)
What is expected?
不报错
What is actually happening?
报错
Other?
The text was updated successfully, but these errors were encountered: