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

打包后发现占据空间过大,发现是由于乡镇数据过大,但我只需要到区,有什么可优化的方法吗 #26

Closed
rade1995 opened this issue Jul 30, 2020 · 2 comments

Comments

@rade1995
Copy link

需求要录入行政区划,但发现打包后和elementUi基本一个体积,过大。只用到区的数据,有什么优化方法吗。顺便提一个优化点,在接受参数时,能否接受字符串,将它的省市区补全。自己写了区分直辖市的0替换,但这样太粗糙了

@TerryZ
Copy link
Owner

TerryZ commented Aug 1, 2020

有计划做一个只有 省、市、区 三级的精简版,不过疫情反而导致了工作更加繁忙,所以有可能等 Vue3 正式版发布后一次性整个精简版本

@TerryZ
Copy link
Owner

TerryZ commented Sep 23, 2024

v3.2.0 以后的版本分离了 3 级与 4 级组件,可按使用需求引用

@TerryZ TerryZ closed this as completed Sep 23, 2024
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