ソースを参照

update 操作栏目宽度

linweizeng 3 年 前
コミット
3b9b88fef5

+ 1 - 1
src/business/platform/form/formrender/dynamic-form/dynamic-form-table.vue

@@ -35,7 +35,7 @@
                                 </template>
                             </el-table-column>
                         </template>
-                        <el-table-column v-if="manageButtons && manageButtons.length > 0" align="center" fixed="right" class-name="hidden-print" label="操作栏目" width="160">
+                        <el-table-column v-if="manageButtons && manageButtons.length > 0" align="center" fixed="right" class-name="hidden-print" label="操作栏目" :width="manageButtons.length == 1 ? '85' : '160'">
                             <template slot-scope="scope">
                                 <el-dropdown v-if="manageButtons.length > 3">
                                     <ibps-icon name="chevron-circle-down" size="28" class="hidden-print" />