ting.yin 5 năm trước cách đây
mục cha
commit
bc7ff46e5d

+ 1 - 1
stmms-web/src/main/webapp/static/mark-json/js/json-loader.js

@@ -19,7 +19,7 @@ JsonLoader.prototype.build = function (task, callback) {
 //         callback();
         var url = this.jsonServer + task.jsonUrl;
         $.get(url, function (result) {
-            task.jsonData = result;
+            task.jsonData = JSON.parse(result);
             callback();
         }).error(function () {
             console.log('json load error:' + url);