From d8d065624231a61e4dc86205bc2e34c9b99ea2cb Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 24 Aug 2022 12:58:27 +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