Commit d2b7d8ac authored by 喻春霖's avatar 喻春霖

fixed

parent 90828f36
...@@ -365,7 +365,7 @@ ...@@ -365,7 +365,7 @@
}, },
initNums: function () { initNums: function () {
var _this = this; var _this = this;
$.getJSON('./js/SHdata.json', function (SHjson) { $.getJSON('../static/js/SHdata.json', function (SHjson) {
var myChartNums = echarts.init(document.getElementById("idp"), 'light'); var myChartNums = echarts.init(document.getElementById("idp"), 'light');
// 第二个参数为导入地图文件 // 第二个参数为导入地图文件
echarts.registerMap('shanghai', SHjson); echarts.registerMap('shanghai', SHjson);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment