GithubHelp home page GithubHelp logo

Comments (7)

hanxu317317 avatar hanxu317317 commented on August 18, 2024

这个方法, 10.1前我会暴露出来. 现在最没办法的方式. 只能自己去遍历citiesdata. 然后.....
@wang709693972wei

from city_pickers.

desire0420 avatar desire0420 commented on August 18, 2024

坐等发布新版本

from city_pickers.

hanxu317317 avatar hanxu317317 commented on August 18, 2024

@wang709693972wei 哈哈好的~~最近业务压力大. 这个功能就搁置了.

from city_pickers.

desire0420 avatar desire0420 commented on August 18, 2024

想问下 您把市和县 的后面两级数据 放在同一个map里面,那样我遍历市的时候 也要对县的数据遍历。遍历的数据会有点多,楼主有没考虑把市和区的数据分开。

from city_pickers.

hanxu317317 avatar hanxu317317 commented on August 18, 2024

@wang709693972wei 这个问题考虑过,主要是以下几点

  • 方便数据递归, 不需要指定是某级数据, 找到就返回, 方便用户使用 getLocaionInfo(code)
  • 数据结构定义抽象, 如果有四级数据, 直接追加. 不需要更改太多的代码.
  • 以上都是我现编的. 这个数据结构是参考现有项目, 直接用的, 没过脑子. 不过上边第2条还是有用的.

from city_pickers.

hanxu317317 avatar hanxu317317 commented on August 18, 2024

fixed: 0.1.26
image

from city_pickers.

desire0420 avatar desire0420 commented on August 18, 2024

升级了版本,试了你暴露的方法 还是取不到信息哦。具体提了新的issues

from city_pickers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.