We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
在写一个简单的省级级联component时发现,提供个demo:http://jsfiddle.net/4oa8anz4/
demo提供的是市在省之前时的正确表现,但只要把level2的市级元素移到level1的省级元素之后,就会报Cannot read property 'childNodes' of undefined
The text was updated successfully, but these errors were encountered:
看到根本没有 level = 1 的属性配置,是不是这里的问题呢。
if (this.level !== '2') {
改成
if (this.level === 1) {
咋样 ?而且没报错了
Sorry, something went wrong.
6cd3a16
No branches or pull requests
在写一个简单的省级级联component时发现,提供个demo:http://jsfiddle.net/4oa8anz4/
demo提供的是市在省之前时的正确表现,但只要把level2的市级元素移到level1的省级元素之后,就会报Cannot read property 'childNodes' of undefined
The text was updated successfully, but these errors were encountered: