1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-01 03:24:14 +08:00

fix: 调整 PostgreSQL 用户绑定样式 ()

This commit is contained in:
ssongliu 2024-01-08 18:21:33 +08:00 committed by GitHub
parent 3c2472ab6c
commit 51077b0597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions
backend/utils/postgresql
frontend/src/views/database/postgresql/bind

@ -47,6 +47,7 @@ func NewPostgresqlClient(conn client.DBInfo) (PostgresqlClient, error) {
return client.NewRemote(client.Remote{
Client: db,
From: "remote",
Database: conn.Database,
User: conn.Username,
Password: conn.Password,

@ -7,8 +7,7 @@
<el-form v-loading="loading" ref="changeFormRef" :model="form" :rules="rules" label-position="top">
<el-row type="flex" justify="center">
<el-col :span="22">
<el-alert type="warning" :description="$t('database.pgBindHelper')" :closable="false" />
<el-form-item class="mt-5" :label="$t('commons.login.username')" prop="username">
<el-form-item :label="$t('database.pgBind')" prop="username">
<el-input v-model="form.username" />
</el-form-item>
<el-form-item :label="$t('commons.login.password')" prop="password">