ソースを参照

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

YunaiV 9 ヶ月 前
コミット
0cfd2143d1
共有1 個のファイルを変更した3 個の追加2 個の削除を含む
  1. 3 2
      yudao-module-infra/src/main/resources/codegen/vue3_vben5_ele/schema/views/modules/list_sub_erp.vue.vm

+ 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: {