From 96a1ecb2f96c6067a79f0cc70b16781c55fdc098 Mon Sep 17 00:00:00 2001 From: hhyo Date: Mon, 9 Jul 2018 15:53:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=BB=84=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1=E7=BB=93=E6=9E=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/templates/queryapplylist.html | 2 +- sql/templates/submitSql.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/templates/queryapplylist.html b/sql/templates/queryapplylist.html index 25cf1e7219..a9bc754b87 100644 --- a/sql/templates/queryapplylist.html +++ b/sql/templates/queryapplylist.html @@ -129,7 +129,7 @@ }, success: function (data) { if (data.status === 0) { - var result = data.data['rows']; + var result = data['rows']; $("#cluster_name").empty(); for (var i = 0; i < result.length; i++) { var cluster = ""; diff --git a/sql/templates/submitSql.html b/sql/templates/submitSql.html index eba282a181..ee00632c03 100644 --- a/sql/templates/submitSql.html +++ b/sql/templates/submitSql.html @@ -353,7 +353,7 @@ }, success: function (data) { if (data.status === 0) { - var result = data.data['rows']; + var result = data['rows']; $("#cluster_name").empty(); for (var i = 0; i < result.length; i++) { var cluster = "";