From 4ec143f5ff8ca81417fefc08362b4e1d6e3f713c Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 09 Jun 2022 10:48:46 +0800
Subject: [PATCH] 实现主机地址独立管理工具,第二部分

---
 forms/chinaArea/ChinaLocations.weapp.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/forms/chinaArea/ChinaLocations.weapp.js b/forms/chinaArea/ChinaLocations.weapp.js
index c9fa3c0..8a92430 100644
--- a/forms/chinaArea/ChinaLocations.weapp.js
+++ b/forms/chinaArea/ChinaLocations.weapp.js
@@ -4,15 +4,15 @@
  */
 
 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',

--
Gitblit v1.9.1