Browse Source

fix:【element-plus】button 的 text 类型,后续会废弃

YunaiV 9 months ago
parent
commit
0cfd2143d1

+ 3 - 2
yudao-module-infra/src/main/resources/codegen/vue3_vben5_ele/schema/views/modules/list_sub_erp.vue.vm

@@ -210,7 +210,8 @@ watch(
             :actions="[
               {
                 label: $t('common.edit'),
-                type: 'text',
+                type: 'primary',
+                link: true,
                 icon: ACTION_ICON.EDIT,
                 auth: ['${table.moduleName}:${simpleClassName_strikeCase}:update'],
                 onClick: handleEdit.bind(null, row),
@@ -218,7 +219,7 @@ watch(
               {
                 label: $t('common.delete'),
                 type: 'danger',
-                text: true,
+                link: true,
                 icon: ACTION_ICON.DELETE,
                 auth: ['${table.moduleName}:${simpleClassName_strikeCase}:delete'],
                 popConfirm: {