Răsfoiți Sursa

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

MTrun 3 ani în urmă
părinte
comite
8be1eff5b4
1 a modificat fișierele cu 5 adăugiri și 1 ștergeri
  1. 5 1
      src/components/GoSystemSet/index.vue

+ 5 - 1
src/components/GoSystemSet/index.vue

@@ -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;