forked from youzan/vant
-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat:Area组件支持四级地址 #17
Comments
对于这个情况, 或许我们可以这样处理: <地址选择/> <!-- 3 级地址选择器 -->
<选择器/> <!-- 通过 3 级地址的条件, 获取 4 级地址的数据塞在这里 --> |
如果还不太理解的话,那么我晚点提一个PR,你看是否合适? 同时希望你给出更好的建议。 同时愿意提供一份压缩后为1.1M的全国四级地址库地址,如需要,可Alt我。另外进行请教一个问题,如果四级地址库进行本地化的,那么有什么好的方法吗? 目前个人做法采用IndexDB,进行存储,利用Index进行取值。 |
欢迎欢迎!!!!!!!!!!然后咱们一起线上交流 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
期望:
Area组件支持四级地址库
为什么提这个需求:
因项目需支持四级地址库,所以查看源码后发现并不支持四级,故提出方案,四级地址库压缩后约1M容量,体积过大,如果使用本地存放,虽然速度快,但是1M超出容量限制,所以考虑懒加载方案。
版本:
"@femessage/vant": "^4.0.0",
其他
暂无
The text was updated successfully, but these errors were encountered: