fix:【element-plus】button 的 text 类型,后续会废弃
parent
2becb1b09d
commit
51d2d66f76
|
@ -162,7 +162,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||
:actions="[
|
||||
{
|
||||
label: $t('common.edit'),
|
||||
type: 'text',
|
||||
type: 'primary',
|
||||
link: true,
|
||||
icon: ACTION_ICON.EDIT,
|
||||
auth: ['infra:demo01-contact:update'],
|
||||
onClick: handleEdit.bind(null, row),
|
||||
|
|
|
@ -145,14 +145,16 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||
:actions="[
|
||||
{
|
||||
label: '新增下级',
|
||||
type: 'text',
|
||||
type: 'primary',
|
||||
link: true,
|
||||
icon: ACTION_ICON.ADD,
|
||||
auth: ['infra:demo02-category:create'],
|
||||
onClick: handleAppend.bind(null, row),
|
||||
},
|
||||
{
|
||||
label: $t('common.edit'),
|
||||
type: 'text',
|
||||
type: 'primary',
|
||||
link: true,
|
||||
icon: ACTION_ICON.EDIT,
|
||||
auth: ['infra:demo02-category:update'],
|
||||
onClick: handleEdit.bind(null, row),
|
||||
|
|
|
@ -173,7 +173,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||
:actions="[
|
||||
{
|
||||
label: $t('common.edit'),
|
||||
type: 'text',
|
||||
type: 'primary',
|
||||
link: true,
|
||||
icon: ACTION_ICON.EDIT,
|
||||
auth: ['infra:demo03-student:update'],
|
||||
onClick: handleEdit.bind(null, row),
|
||||
|
|
|
@ -174,7 +174,8 @@ watch(
|
|||
:actions="[
|
||||
{
|
||||
label: $t('common.edit'),
|
||||
type: 'text',
|
||||
type: 'primary',
|
||||
link: true,
|
||||
icon: ACTION_ICON.EDIT,
|
||||
auth: ['infra:demo03-student:update'],
|
||||
onClick: handleEdit.bind(null, row),
|
||||
|
|
|
@ -174,7 +174,8 @@ watch(
|
|||
:actions="[
|
||||
{
|
||||
label: $t('common.edit'),
|
||||
type: 'text',
|
||||
type: 'primary',
|
||||
link: true,
|
||||
icon: ACTION_ICON.EDIT,
|
||||
auth: ['infra:demo03-student:update'],
|
||||
onClick: handleEdit.bind(null, row),
|
||||
|
|
|
@ -178,7 +178,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||
:actions="[
|
||||
{
|
||||
label: $t('common.edit'),
|
||||
type: 'text',
|
||||
type: 'primary',
|
||||
link: true,
|
||||
icon: ACTION_ICON.EDIT,
|
||||
auth: ['infra:demo03-student:update'],
|
||||
onClick: handleEdit.bind(null, row),
|
||||
|
|
|
@ -162,7 +162,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||
:actions="[
|
||||
{
|
||||
label: $t('common.edit'),
|
||||
type: 'text',
|
||||
type: 'primary',
|
||||
link: true,
|
||||
icon: ACTION_ICON.EDIT,
|
||||
auth: ['infra:demo03-student:update'],
|
||||
onClick: handleEdit.bind(null, row),
|
||||
|
|
Loading…
Reference in New Issue