liaojiaxing недель назад: 3
Родитель
Сommit
18aab8f113

+ 5 - 1
src/renderer/src/views/designer/config/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="h-full">
+  <div class="h-full config-wrap">
     <el-tabs size="small" class="h-full">
       <el-tab-pane label="属性">
         <property />
@@ -59,4 +59,8 @@ const animation = computed({
 :deep(.el-tabs__header) {
   margin: 0;
 }
+
+.config-wrap {
+  background: var(--el-fill-color-blank);
+}
 </style>

+ 1 - 1
src/renderer/src/views/designer/config/property/CusFormItem.vue

@@ -171,7 +171,7 @@
         style="margin-bottom: 12px"
       >
         <el-card body-class="p-4px! pt-12px!" class="mb-8px!">
-          <el-row :gutter="12" class="px-4px">
+          <el-row :gutter="12" class="px-4px w-full">
             <CusFormItem
               v-for="(item, index) in schema.children"
               :key="item.valueType + '_' + index"