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

This commit is contained in:
YunaiV
2025-09-08 23:01:01 +08:00
parent 256b6f2c1d
commit 0cfd2143d1

View File

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