Skip to content

Commit

Permalink
获取组管理对象结构调整
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyo committed Jul 9, 2018
1 parent 15d44d7 commit 96a1ecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sql/templates/queryapplylist.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h4 class="modal-title" id="myModalLabel">申请数据库查询权限</h4>
},
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 = "<option value=\"" + result[i]['object_name'] + "\">" + result[i]['object_name'] + "</option>";
Expand Down
2 changes: 1 addition & 1 deletion sql/templates/submitSql.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ <h4 class="modal-title text-danger">提交信息确认</h4>
},
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 = "<option value=\"" + result[i]['object_name'] + "\">" + result[i]['object_name'] + "</option>";
Expand Down

0 comments on commit 96a1ecb

Please sign in to comment.