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

体积还是有点大2M #29

Closed
yangmingqi123 opened this issue Jul 2, 2024 · 3 comments
Closed

体积还是有点大2M #29

yangmingqi123 opened this issue Jul 2, 2024 · 3 comments

Comments

@yangmingqi123
Copy link

小程序完全就用不了,希望作者大大能优化下

@wzc570738205
Copy link
Owner

后续会考虑改为传参的方式初始化数据包,正在看了

@wzc570738205
Copy link
Owner

当下就先使用api的方式去去接入吧

@wzc570738205
Copy link
Owner

npm 包3.0已经更新支持外挂地址数据

import  {smart} from 'address-smart-parse'
const myAddress = [...]// 数据格式请参考 https://github.com/modood/Administrative-divisions-of-China/blob/master/dist/streets.json
smart("陕西省西安市雁塔区丈八沟街道高新四路高新大都荟710061 刘国良 13593464918 211381198512096810", myAddress)

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