mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 11:32:57 +08:00
fix: 样式优化
This commit is contained in:
parent
50a9c26380
commit
4fa9d127ad
@ -383,6 +383,7 @@ defineExpose({
|
|||||||
v-model="nodeInfo.configuration.initialPoolSize"
|
v-model="nodeInfo.configuration.initialPoolSize"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
class="w100-input"
|
||||||
:placeholder="t('common.inputText') + t('datasource.initial_pool_size')"
|
:placeholder="t('common.inputText') + t('datasource.initial_pool_size')"
|
||||||
type="number"
|
type="number"
|
||||||
:min="0"
|
:min="0"
|
||||||
@ -395,6 +396,7 @@ defineExpose({
|
|||||||
v-model="nodeInfo.configuration.minPoolSize"
|
v-model="nodeInfo.configuration.minPoolSize"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
class="w100-input"
|
||||||
:placeholder="t('common.inputText') + t('datasource.min_pool_size')"
|
:placeholder="t('common.inputText') + t('datasource.min_pool_size')"
|
||||||
type="number"
|
type="number"
|
||||||
:min="0"
|
:min="0"
|
||||||
@ -407,6 +409,7 @@ defineExpose({
|
|||||||
<el-form-item :label="t('datasource.max_pool_size')" prop="configuration.maxPoolSize">
|
<el-form-item :label="t('datasource.max_pool_size')" prop="configuration.maxPoolSize">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="nodeInfo.configuration.maxPoolSize"
|
v-model="nodeInfo.configuration.maxPoolSize"
|
||||||
|
class="w100-input"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
:placeholder="t('common.inputText') + t('datasource.max_pool_size')"
|
:placeholder="t('common.inputText') + t('datasource.max_pool_size')"
|
||||||
@ -421,6 +424,7 @@ defineExpose({
|
|||||||
prop="configuration.queryTimeout"
|
prop="configuration.queryTimeout"
|
||||||
>
|
>
|
||||||
<el-input-number
|
<el-input-number
|
||||||
|
class="w100-input"
|
||||||
v-model="nodeInfo.configuration.queryTimeout"
|
v-model="nodeInfo.configuration.queryTimeout"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
@ -455,12 +459,15 @@ defineExpose({
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 8px;
|
|
||||||
|
|
||||||
.ed-icon {
|
.ed-icon {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.w100-input {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.ed-drawer__footer {
|
.ed-drawer__footer {
|
||||||
height: 64px !important;
|
height: 64px !important;
|
||||||
padding: 16px 24px !important;
|
padding: 16px 24px !important;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
@edit="edit"
|
@edit="edit"
|
||||||
@check="validateById"
|
@check="validateById"
|
||||||
/>
|
/>
|
||||||
<div>
|
<div :style="{ paddingBottom: showPriority ? 0 : '16px' }">
|
||||||
<span class="de-expand-engine" @click="showPriority = !showPriority">
|
<span class="de-expand-engine" @click="showPriority = !showPriority">
|
||||||
{{ t('datasource.priority') }}
|
{{ t('datasource.priority') }}
|
||||||
<el-icon>
|
<el-icon>
|
||||||
@ -161,7 +161,7 @@ const validateById = async () => {
|
|||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: var(--ed-color-primary);
|
color: var(--ed-color-primary);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin: 0 24px 10px 24px;
|
margin: 0 24px 8px 24px;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user