feat(projects): 微调
This commit is contained in:
@@ -2,6 +2,8 @@ import { computed, defineComponent, h, ref } from 'vue';
|
||||
import type { Component, PropType } from 'vue';
|
||||
import { ElButton, ElPopover, ElTooltip } from 'element-plus';
|
||||
import { $t } from '@/locales';
|
||||
import IconMdiDotsHorizontal from '~icons/mdi/dots-horizontal';
|
||||
import IconMdiChevronDown from '~icons/mdi/chevron-down';
|
||||
|
||||
export type BusinessTableAction = {
|
||||
key: string;
|
||||
@@ -162,11 +164,11 @@ export default defineComponent({
|
||||
onClick={event => event.stopPropagation()}
|
||||
>
|
||||
{props.variant === 'icon' ? (
|
||||
<icon-mdi-dots-horizontal class="business-table-action-icon" />
|
||||
<IconMdiDotsHorizontal class="business-table-action-icon" />
|
||||
) : (
|
||||
<span class="inline-flex items-center gap-4px">
|
||||
{$t('common.more')}
|
||||
<icon-mdi-chevron-down class="text-14px" />
|
||||
<IconMdiChevronDown class="text-14px" />
|
||||
</span>
|
||||
)}
|
||||
</ElButton>
|
||||
|
||||
Reference in New Issue
Block a user