Browse Source

登录修改优化

zyh
w-R 3 years ago
parent
commit
210adf67ee
  1. 0
      assets/area_code/area_code_full.json
  2. 2
      lib/login/phone_address_page.dart
  3. 1
      pubspec.yaml

0
assets/map_style/area_code_full.json → assets/area_code/area_code_full.json

2
lib/login/phone_address_page.dart

@ -27,7 +27,7 @@ class _PhoneAddressPage extends State<PhoneAddressPage> {
void areaCode() async { void areaCode() async {
var value = var value =
await rootBundle.loadString('assets/map_style/area_code_full.json'); await rootBundle.loadString('assets/area_code/area_code_full.json');
areaMap = jsonDecode(value); areaMap = jsonDecode(value);
areaMap.forEach((key, value) { areaMap.forEach((key, value) {
areaList.add(key); areaList.add(key);

1
pubspec.yaml

@ -111,6 +111,7 @@ flutter:
- assets/image/2x/ - assets/image/2x/
- assets/image/3x/ - assets/image/3x/
- assets/map_style/ - assets/map_style/
- asstes/area_code/
- assets/riv/ - assets/riv/
- assets/svg/ - assets/svg/
# - assets/fonts/ # - assets/fonts/

Loading…
Cancel
Save