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

多级下拉选项全部完成后更换省份时县区和乡镇数据未清理并可选且返回错误数据 #1

Closed
cnscoo opened this issue Jun 14, 2018 · 2 comments

Comments

@cnscoo
Copy link

cnscoo commented Jun 14, 2018

在第一次把下拉的四级选项全部选完后,变更省份级选项,发现乡镇级(第四级)选项还是上次的数据,并且这时候可以选择,返回的数据比如

{
    "province": {
        "key": "340000",
        "value": "安徽省"
    },
    "town": {
        "key": "210224102",
        "value": "广鹿岛镇"
    }
}

广鹿岛镇 本来是辽宁省大连市长海县的,把省份改成安徽之后,直接选乡镇,可以选出以上错误结果。

继续选择市(第二)级,第四级的数据依旧未更改,直接选第四级,依然可以选出如下错误结果

{
    "province": {
        "key": "340000",
        "value": "安徽省"
    },
    "city": {
        "key": "340500",
        "value": "马鞍山市"
    },
    "town": {
        "key": "210224102",
        "value": "广鹿岛镇"
    }
}
@TerryZ
Copy link
Owner

TerryZ commented Jun 14, 2018

这个问题已经修复,下个版本会解决

有一些数据,乡镇级别的数据,数据源里就是没有的,出现错误也会在下个版本进行修复

@TerryZ
Copy link
Owner

TerryZ commented Jun 21, 2018

该问题已在 v1.6.0 版本中修复

@TerryZ TerryZ closed this as completed Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants