forked from github/dataease
fix: 数据库数据源创建界面,端口号应该放在数据库名之前
This commit is contained in:
parent
a21762efaa
commit
b741d53f6c
@ -614,6 +614,18 @@ defineExpose({
|
|||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item :label="t('datasource.port')" prop="configuration.port">
|
||||||
|
<el-input-number
|
||||||
|
v-model="form.configuration.port"
|
||||||
|
autocomplete="off"
|
||||||
|
step-strictly
|
||||||
|
class="text-left"
|
||||||
|
:min="0"
|
||||||
|
:placeholder="t('common.inputText') + t('datasource.port')"
|
||||||
|
controls-position="right"
|
||||||
|
type="number"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item :label="t('datasource.data_base')" prop="configuration.dataBase">
|
<el-form-item :label="t('datasource.data_base')" prop="configuration.dataBase">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.configuration.dataBase"
|
v-model="form.configuration.dataBase"
|
||||||
@ -687,18 +699,6 @@ defineExpose({
|
|||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="t('datasource.port')" prop="configuration.port">
|
|
||||||
<el-input-number
|
|
||||||
v-model="form.configuration.port"
|
|
||||||
autocomplete="off"
|
|
||||||
step-strictly
|
|
||||||
class="text-left"
|
|
||||||
:min="0"
|
|
||||||
:placeholder="t('common.inputText') + t('datasource.port')"
|
|
||||||
controls-position="right"
|
|
||||||
type="number"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="form.type == 'oracle'"
|
v-if="form.type == 'oracle'"
|
||||||
:label="t('datasource.connection_mode')"
|
:label="t('datasource.connection_mode')"
|
||||||
|
Loading…
Reference in New Issue
Block a user