1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00

feat: postgresql 远程数据库支持 17.x 版本 (#6759)

This commit is contained in:
ssongliu 2024-10-17 21:37:32 +08:00 committed by ssongliu
parent fcce6fec44
commit ac2c20bd81
2 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,7 @@ const onOpenDialog = async (
rowData: Partial<Database.DatabaseInfo> = { rowData: Partial<Database.DatabaseInfo> = {
name: '', name: '',
type: 'postgresql', type: 'postgresql',
version: '16.x', version: '17.x',
address: '', address: '',
port: 5432, port: 5432,
username: '', username: '',

View File

@ -27,6 +27,7 @@
</el-form-item> </el-form-item>
<el-form-item :label="$t('database.version')" prop="version"> <el-form-item :label="$t('database.version')" prop="version">
<el-radio-group v-model="dialogData.rowData!.version" @change="isOK = false"> <el-radio-group v-model="dialogData.rowData!.version" @change="isOK = false">
<el-radio label="17.x" value="17.x" />
<el-radio label="16.x" value="16.x" /> <el-radio label="16.x" value="16.x" />
<el-radio label="15.x" value="15.x" /> <el-radio label="15.x" value="15.x" />
<el-radio label="14.x" value="14.x" /> <el-radio label="14.x" value="14.x" />