ting.yin 5 년 전
부모
커밋
bc7ff46e5d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      stmms-web/src/main/webapp/static/mark-json/js/json-loader.js

+ 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);