beijiyang / cityselector Goto Github PK
View Code? Open in Web Editor NEW微信小程序 城市/区县定位选择模块 汉字/拼音搜索 可直接使用 另附 mpvue 版本 city picker / auto positioning / auto complete
微信小程序 城市/区县定位选择模块 汉字/拼音搜索 可直接使用 另附 mpvue 版本 city picker / auto positioning / auto complete
rt
为大大点赞
刚用,提一点建议,初始化城市为当前定位城市
how to make make the city is optional & state required ?
because in sri lanka their is more cities missing from states
如题
VM685:1 thirdScriptError
Cannot read property 'city' of null;at api request success callback function
TypeError: Cannot read property 'city' of null
at be.setCityCounty (http://127.0.0.1:43215/appservice/pages/switchcity/switchcity.js:161:26)
at success (http://127.0.0.1:43215/appservice/pages/switchcity/switchcity.js:154:23)
运行时抱这个错时为啥啊,大佬能说说吗?
看到作者的小组件,觉得非常实用。不过我的项目是基于mpvue上的,我花了一点时间在mpvue上改写了。
项目地址:https://github.com/originalix/citySelector
希望大佬方便的话也能挂在readme里 方便使用mpvue的同学们
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.