Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复sql查询页面,数据库类型为PgSQL, schema下拉列表不显示的问题 #2283

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sql/templates/sqlquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,14 @@ <h4 class="modal-title text-danger">收藏语句</h4>
resource_type: resource_type
},
complete: function () {
if (optgroup === "PgSQL") {
//获取schema
$("#div-schema_name").show();
$("#schema_name").selectpicker('val', db_name);
if ($("#schema_name").val()) {
$("#schema_name").selectpicker().trigger("change");
}
}
},
success: function (data) {
if (data.status === 0) {
Expand Down
Loading