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

This commit is contained in:
xingyu4j
2025-09-12 16:38:25 +08:00
parent 2c5557aa30
commit 39081139e2
8 changed files with 8 additions and 8 deletions

View File

@@ -242,7 +242,7 @@ setupVbenVxeTable({
{ {
...props, ...props,
...opt, ...opt,
text: true, link: true,
icon: undefined, icon: undefined,
onClick: listen onClick: listen
? () => ? () =>

View File

@@ -171,7 +171,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{ {
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: ['infra:demo01-contact:delete'], auth: ['infra:demo01-contact:delete'],
popConfirm: { popConfirm: {

View File

@@ -162,7 +162,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{ {
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: ['infra:demo02-category:delete'], auth: ['infra:demo02-category:delete'],
popConfirm: { popConfirm: {

View File

@@ -182,7 +182,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{ {
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: ['infra:demo03-student:delete'], auth: ['infra:demo03-student:delete'],
popConfirm: { popConfirm: {

View File

@@ -183,7 +183,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: ['infra:demo03-student:delete'], auth: ['infra:demo03-student:delete'],
popConfirm: { popConfirm: {

View File

@@ -183,7 +183,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: ['infra:demo03-student:delete'], auth: ['infra:demo03-student:delete'],
popConfirm: { popConfirm: {

View File

@@ -187,7 +187,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{ {
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: ['infra:demo03-student:delete'], auth: ['infra:demo03-student:delete'],
popConfirm: { popConfirm: {

View File

@@ -171,7 +171,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
{ {
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: ['infra:demo03-student:delete'], auth: ['infra:demo03-student:delete'],
popConfirm: { popConfirm: {