mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-11 16:06:02 +08:00
fix: 调整 PostgreSQL 用户绑定样式 (#3530)
This commit is contained in:
parent
3c2472ab6c
commit
51077b0597
4 changed files with 4 additions and 4 deletions
|
@ -47,6 +47,7 @@ func NewPostgresqlClient(conn client.DBInfo) (PostgresqlClient, error) {
|
||||||
|
|
||||||
return client.NewRemote(client.Remote{
|
return client.NewRemote(client.Remote{
|
||||||
Client: db,
|
Client: db,
|
||||||
|
From: "remote",
|
||||||
Database: conn.Database,
|
Database: conn.Database,
|
||||||
User: conn.Username,
|
User: conn.Username,
|
||||||
Password: conn.Password,
|
Password: conn.Password,
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
<el-form v-loading="loading" ref="changeFormRef" :model="form" :rules="rules" label-position="top">
|
<el-form v-loading="loading" ref="changeFormRef" :model="form" :rules="rules" label-position="top">
|
||||||
<el-row type="flex" justify="center">
|
<el-row type="flex" justify="center">
|
||||||
<el-col :span="22">
|
<el-col :span="22">
|
||||||
<el-alert type="warning" :description="$t('database.pgBindHelper')" :closable="false" />
|
<el-form-item :label="$t('database.pgBind')" prop="username">
|
||||||
<el-form-item class="mt-5" :label="$t('commons.login.username')" prop="username">
|
|
||||||
<el-input v-model="form.username" />
|
<el-input v-model="form.username" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('commons.login.password')" prop="password">
|
<el-form-item :label="$t('commons.login.password')" prop="password">
|
||||||
|
|
Loading…
Add table
Reference in a new issue