mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +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,
|
||||
|
@ -376,7 +376,7 @@ const message = {
|
||||
|
||||
loadFromRemote: '從服務器獲取',
|
||||
userBind: '綁定使用者',
|
||||
pgBind: '綁定用戶(暫不支持綁定已有用戶)',
|
||||
pgBind: '綁定用戶 (暫不支持綁定已有用戶)',
|
||||
loadFromRemoteHelper: '此操作將同步服務器上數據庫信息到 1Panel,是否繼續?',
|
||||
passwordHelper: '無法獲取密碼,請修改',
|
||||
local: '本地',
|
||||
|
@ -376,7 +376,7 @@ const message = {
|
||||
|
||||
loadFromRemote: '从服务器获取',
|
||||
userBind: '绑定用户',
|
||||
pgBind: '绑定用户(暂不支持绑定已有用户)',
|
||||
pgBind: '绑定用户 (暂不支持绑定已有用户)',
|
||||
loadFromRemoteHelper: '此操作将同步服务器上数据库信息到 1Panel,是否继续?',
|
||||
passwordHelper: '无法获取密码,请修改',
|
||||
local: '本地',
|
||||
|
@ -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