fix:【element-plus】button 的 text 类型,后续会废弃
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user