mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-25 16:16:20 +08:00
fix: TableAction设置icon显示iconify关键字 (#3608)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<template v-if="action.label">{{ action.label }}</template>
|
||||
</PopConfirmButton>
|
||||
</Tooltip>
|
||||
<PopConfirmButton v-else v-bind="action">
|
||||
<PopConfirmButton v-else v-bind="omit(action, 'icon')">
|
||||
<Icon :icon="action.icon" :class="{ 'mr-1': !!action.label }" v-if="action.icon" />
|
||||
<template v-if="action.label">{{ action.label }}</template>
|
||||
</PopConfirmButton>
|
||||
@@ -44,6 +44,7 @@
|
||||
import { isBoolean, isFunction, isString } from '@/utils/is';
|
||||
import { propTypes } from '@/utils/propTypes';
|
||||
import { ACTION_COLUMN_FLAG } from '../const';
|
||||
import { omit } from 'lodash-es';
|
||||
|
||||
defineOptions({ name: 'TableAction' });
|
||||
|
||||
|
Reference in New Issue
Block a user