| | |
| | | */ |
| | | |
| | | import Taro from '@tarojs/taro'; |
| | | import { Fetcher } from '@components/bases/Fetcher'; |
| | | import project from '@project'; |
| | | import { $hostBoot } from '@components/bases/HostBoot'; |
| | | |
| | | const locationTree = []; |
| | | let ChinaLocationData = {}; |
| | | let readyCallback = () => { }; |
| | | |
| | | Taro.request({ |
| | | url: Fetcher.host + project.host.assetsPath + '/datas/ChinaLocation.json', |
| | | url: $hostBoot.getHost() + project.host.assetsPath + '/datas/ChinaLocation.json', |
| | | header: { |
| | | 'X-Requested-With': 'XMLHttpRequest', |
| | | 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8', |