mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-01 03:24:14 +08:00
fix: 调整 PostgreSQL 用户绑定样式 (#3530)
This commit is contained in:
parent
3c2472ab6c
commit
51077b0597
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user