fix: 修改系统设置下拉框的宽度

This commit is contained in:
MTrun 2022-04-09 16:56:09 +08:00
parent d0752b0b26
commit 9c04f51548

View File

@ -41,6 +41,7 @@
<template v-else-if="item.type === 'select'">
<n-select
class="select-min-width"
v-model:value="item.value"
size="small"
:options="item.options"
@ -126,7 +127,7 @@ const list = reactive<ListType[]>([
value: ToolsStatusEnum.ASIDE
},
{
label: '底部',
label: '底部 Dock',
value: ToolsStatusEnum.DOCK
}
]
@ -181,6 +182,9 @@ const handleChange = (e: MouseEvent, item: ListType) => {
.input-num-width {
width: 100px;
}
.select-min-width {
width: 110px;
}
@include deep() {
.n-list-item:not(:last-child) {
border-bottom: 0;