From a4e06ccd3cd976fbe4eef99e188d42ec9f3ad054 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 08 Apr 2021 09:32:05 +0800
Subject: [PATCH] 样式修改
---
public/map/core/utils/ConfigUtil.js | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/public/map/core/utils/ConfigUtil.js b/public/map/core/utils/ConfigUtil.js
new file mode 100644
index 0000000..2c01dc5
--- /dev/null
+++ b/public/map/core/utils/ConfigUtil.js
@@ -0,0 +1,10 @@
+define(["dojo/request"],
+ function(request) {
+ return {
+ loadJson: function(url, successCallback, errorCallback) {
+ request.get(url, {
+ handleAs: "json"
+ }).then(successCallback, errorCallback);
+ },
+ };
+ });
\ No newline at end of file
--
Gitblit v1.9.3