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

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

View file

@ -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,

View file

@ -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">