Commit 0cfd2143d190d2b951ab41c3fa41e73d60609da7

Authored by YunaiV
1 parent 256b6f2c

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

yudao-module-infra/src/main/resources/codegen/vue3_vben5_ele/schema/views/modules/list_sub_erp.vue.vm
@@ -210,7 +210,8 @@ watch( @@ -210,7 +210,8 @@ watch(
210 :actions="[ 210 :actions="[
211 { 211 {
212 label: $t('common.edit'), 212 label: $t('common.edit'),
213 - type: 'text', 213 + type: 'primary',
  214 + link: true,
214 icon: ACTION_ICON.EDIT, 215 icon: ACTION_ICON.EDIT,
215 auth: ['${table.moduleName}:${simpleClassName_strikeCase}:update'], 216 auth: ['${table.moduleName}:${simpleClassName_strikeCase}:update'],
216 onClick: handleEdit.bind(null, row), 217 onClick: handleEdit.bind(null, row),
@@ -218,7 +219,7 @@ watch( @@ -218,7 +219,7 @@ watch(
218 { 219 {
219 label: $t('common.delete'), 220 label: $t('common.delete'),
220 type: 'danger', 221 type: 'danger',
221 - text: true, 222 + link: true,
222 icon: ACTION_ICON.DELETE, 223 icon: ACTION_ICON.DELETE,
223 auth: ['${table.moduleName}:${simpleClassName_strikeCase}:delete'], 224 auth: ['${table.moduleName}:${simpleClassName_strikeCase}:delete'],
224 popConfirm: { 225 popConfirm: {