whj před 1 měsícem
rodič
revize
0bac72b1b0

+ 10 - 4
src/views/custom/form/modules/component/modules/BatchSelect.vue

@@ -10,13 +10,13 @@
 
       </slot>
       <template slot="title">
-        <div class="title">{{ detail.label }}</div>
-      </template>
-      <template slot="footer">
         <div class="title">
-          <a-button style="width:200px" type="primary" @click="handleInfoSelect" icon="plus"></a-button>
+          <a-button type="primary" @click="handleInfoSelect" icon="plus"></a-button>
+          {{ detail.label }}
         </div>
       </template>
+      <template slot="footer">
+      </template>
     </a-table>
     <SelectInfo ref="selectInfo" @selected="handleInfoSelected" />
 
@@ -131,5 +131,11 @@ export default {
   text-align: center;
   font-size: 16px;
   font-weight: 600;
+  position: relative;
+  button {
+    position: absolute;
+    left: 10px;
+    top: -4px;
+  }
 }
 </style>