feat: 使用小图标
This commit is contained in:
@@ -186,6 +186,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.ALIPAY_APP.code,
|
PayChannelEnum.ALIPAY_APP.code,
|
||||||
@@ -211,6 +212,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.ALIPAY_PC.code,
|
PayChannelEnum.ALIPAY_PC.code,
|
||||||
@@ -236,6 +238,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.ALIPAY_WAP.code,
|
PayChannelEnum.ALIPAY_WAP.code,
|
||||||
@@ -261,6 +264,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.ALIPAY_QR.code,
|
PayChannelEnum.ALIPAY_QR.code,
|
||||||
@@ -282,11 +286,11 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #alipayBarConfig="{ row }">
|
<template #alipayBarConfig="{ row }">
|
||||||
<!-- TODO @xingyu:建议用小图标 -->
|
|
||||||
<TableAction
|
<TableAction
|
||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.ALIPAY_BAR.code,
|
PayChannelEnum.ALIPAY_BAR.code,
|
||||||
@@ -312,6 +316,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.WX_LITE.code,
|
PayChannelEnum.WX_LITE.code,
|
||||||
@@ -337,6 +342,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.WX_PUB.code,
|
PayChannelEnum.WX_PUB.code,
|
||||||
@@ -362,6 +368,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.WX_APP.code,
|
PayChannelEnum.WX_APP.code,
|
||||||
@@ -387,6 +394,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.WX_NATIVE.code,
|
PayChannelEnum.WX_NATIVE.code,
|
||||||
@@ -412,6 +420,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.WX_WAP.code,
|
PayChannelEnum.WX_WAP.code,
|
||||||
@@ -437,6 +446,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.WX_BAR.code,
|
PayChannelEnum.WX_BAR.code,
|
||||||
@@ -462,6 +472,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(
|
icon: isChannelExists(
|
||||||
row.channelCodes,
|
row.channelCodes,
|
||||||
PayChannelEnum.WALLET.code,
|
PayChannelEnum.WALLET.code,
|
||||||
@@ -487,6 +498,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
|
size: 'small',
|
||||||
icon: isChannelExists(row.channelCodes, PayChannelEnum.MOCK.code)
|
icon: isChannelExists(row.channelCodes, PayChannelEnum.MOCK.code)
|
||||||
? 'lucide:check'
|
? 'lucide:check'
|
||||||
: 'lucide:x',
|
: 'lucide:x',
|
||||||
|
|||||||
Reference in New Issue
Block a user