Comments (5)
能有重现的例子么?
from china-location.
是偶尔出现的,目前100条数据,也就出现了5次左右,返回的code是正常的,就是name不对;
代码如下:
location.changeLocation(selectSsq[0], selectSsq[1], selectSsq[2]);
let selectLocation = location.getCurrentAddress();
formData.provinceCode = selectLocation.province.code;
formData.provinceName = selectLocation.province.name;
formData.cityCode = selectLocation.city.code;
formData.cityName = selectLocation.city.name;
formData.areaCode = selectLocation.district.code;
formData.areaName = selectLocation.district.name;
from china-location.
出现错误的是哪些城市/区错了?直接调方法100次,还是通过页面联动点击那种?
from china-location.
通过页面联动,在提交数据时,获取到选择的省市区code,再执行我发的那段代码,获取省市区名字,目前遇到出现错误的有:
陕西省/新城区/新城区、江苏省/海陵区/海陵区、江苏省/鼓楼区/鼓楼区、安徽省/镜湖区/镜湖区、贵州省/南明区/南明区、广东省/香洲区/香洲区、北京市/东城区/东城区
以上城市/区是偶尔出现,不是每次都出现
from china-location.
试了几次重现不了 😅
from china-location.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from china-location.