From 2d41c169a2ae5a844e03675a301345883dae357a Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 16 十二月 2023 16:28:42 +0800
Subject: [PATCH] #
---
Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue b/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue
index 09ae81e..5678f7d 100644
--- a/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue
+++ b/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue
@@ -97,7 +97,7 @@
</block>
<!-- #endif -->
<!-- 鍏朵粬灏忕▼搴忛�氳繃vue娓叉煋鍥捐〃 -->
- <!-- #ifdef MP-360 || MP-BAIDU || MP-QQ || MP-TOUTIAO || MP-WEIXIN || MP-KUAISHOU || MP-LARK || MP-JD -->
+ <!-- #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-TOUTIAO || MP-KUAISHOU || MP-LARK || MP-JD || MP-360 -->
<block v-if="type2d">
<view v-if="ontouch" @tap="_tap">
<canvas
@@ -1309,9 +1309,9 @@
script.src = './uni_modules/qiun-data-charts/static/app-plus/echarts.min.js'
// #endif
// #ifdef H5
- const { origin } = window.location
- const rooturl = origin + process.env.BASE_URL
- script.src = rooturl + 'uni_modules/qiun-data-charts/static/h5/echarts.min.js'
+ const rooturl = window.location.origin
+ const directory = instance.getDataset().directory
+ script.src = rooturl + directory + 'uni_modules/qiun-data-charts/static/h5/echarts.min.js'
// #endif
script.onload = this.newEChart
document.head.appendChild(script)
--
Gitblit v1.9.1