Kaynağa Gözat

update 按钮样式

linweizeng 3 yıl önce
ebeveyn
işleme
6aca800f44

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

@@ -45,9 +45,10 @@
                                 </el-dropdown>
                                 </el-dropdown>
                                 <template v-else>
                                 <template v-else>
                                     <template v-for="(button, index) in manageButtons">
                                     <template v-for="(button, index) in manageButtons">
-                                        <el-button plain size="mini" :key="index" :type="button.type" @click="handleActionEvent(button, scope.$index)">
+                                        <el-link :icon="button.icon" :key="index" :type="button.type" @click="handleActionEvent(button, scope.$index)">{{ button.label }}</el-link>
+                                        <!-- <el-button plain size="mini" :key="index" :type="button.type" @click="handleActionEvent(button, scope.$index)">
                                             {{ button.label }}
                                             {{ button.label }}
-                                        </el-button>
+                                        </el-button> -->
                                         <!-- (manageButtons.length === 3 && index === 0) || index === 1 -->
                                         <!-- (manageButtons.length === 3 && index === 0) || index === 1 -->
                                         <el-divider v-if="index !== manageButtons.length - 1" :key="index" direction="vertical" />
                                         <el-divider v-if="index !== manageButtons.length - 1" :key="index" direction="vertical" />
                                     </template>
                                     </template>