mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 03:37:46 +08:00
[dev][cherry-pick-4660][ui]Fix too many resources to display (#4664)
This commit is contained in:
parent
24ddd4f707
commit
143fca1b61
@ -24,10 +24,10 @@
|
||||
<el-button size="mini" value="udfResource" @click="_ckUDf">{{$t('UDF resources')}}</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
<treeselect v-show="checkedValue=='fileResource'" v-model="selectFileSource" :multiple="true" maxHeight="200" :options="fileList" :normalizer="normalizer" :value-consists-of="valueConsistsOf" :placeholder="$t('Please select resources')">
|
||||
<treeselect v-show="checkedValue=='fileResource'" v-model="selectFileSource" :multiple="true" maxHeight="260" :options="fileList" :normalizer="normalizer" :value-consists-of="valueConsistsOf" :placeholder="$t('Please select resources')">
|
||||
<div slot="value-label" slot-scope="{ node }">{{ node.raw.fullName }}</div>
|
||||
</treeselect>
|
||||
<treeselect v-show="checkedValue=='udfResource'" v-model="selectUdfSource" :multiple="true" maxHeight="200" :options="udfList" :normalizer="normalizer" :value-consists-of="valueConsistsOf" :placeholder="$t('Please select resources')">
|
||||
<treeselect v-show="checkedValue=='udfResource'" v-model="selectUdfSource" :multiple="true" maxHeight="260" :options="udfList" :normalizer="normalizer" :value-consists-of="valueConsistsOf" :placeholder="$t('Please select resources')">
|
||||
<div slot="value-label" slot-scope="{ node }">{{ node.raw.fullName }}</div>
|
||||
</treeselect>
|
||||
</div>
|
||||
@ -302,4 +302,11 @@
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
.vue-treeselect__menu {
|
||||
max-height: 200px!important;
|
||||
}
|
||||
.vue-treeselect__multi-value {
|
||||
max-height: 260px!important;
|
||||
overflow-y: auto!important;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user