fix: element-plus button 的 text 类型,后续会废弃
This commit is contained in:
@@ -242,7 +242,7 @@ setupVbenVxeTable({
|
|||||||
{
|
{
|
||||||
...props,
|
...props,
|
||||||
...opt,
|
...opt,
|
||||||
text: true,
|
link: true,
|
||||||
icon: undefined,
|
icon: undefined,
|
||||||
onClick: listen
|
onClick: listen
|
||||||
? () =>
|
? () =>
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user