Authored by skinny.wu

修改 dns monitor 页面解析json的错误

@@ -9,7 +9,7 @@ function queryCurrentInfo() { @@ -9,7 +9,7 @@ function queryCurrentInfo() {
9 type: "get", 9 type: "get",
10 dataType: "json", 10 dataType: "json",
11 success : function(data) { 11 success : function(data) {
12 - var dataObj = eval(data); 12 + var dataObj =eval("(" + data + ")");
13 updateTimePanel(dataObj.updateTime); 13 updateTimePanel(dataObj.updateTime);
14 updateDNSView(eval(dataObj.dnsMonitorInfo)); 14 updateDNSView(eval(dataObj.dnsMonitorInfo));
15 $(function () { 15 $(function () {