mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 05:09:19 +08:00
fix: 优化多处细节
- 导出功能修复 Token 刷新机制,使用 requestClient 发送请求 - 店铺/商品单元格添加跳转图标 tdesign:jump - 店铺概览 ROI 计算精度统一为两位小数 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -1,6 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import type { CompanyOverviewVO } from '#/api/ecommerce/store-overview';
|
||||
|
||||
import { createIconifyIcon } from '@vben/icons';
|
||||
import { computed } from 'vue';
|
||||
|
||||
import { formatFeeRatioPercent } from '#/utils/overview-fee-ratio';
|
||||
@@ -12,6 +13,8 @@ import {
|
||||
storeOverviewHints,
|
||||
} from '#/utils/overview-table-hints';
|
||||
|
||||
const JumpIcon = createIconifyIcon('tdesign:jump');
|
||||
|
||||
defineOptions({ name: 'ShopComparisonTable' });
|
||||
|
||||
interface Props {
|
||||
@@ -275,10 +278,11 @@ const cellRoi = (v: number | null | undefined) =>
|
||||
:class="shopExportMode ? 'border-l-0' : ''"
|
||||
>
|
||||
<span
|
||||
class="inline-block cursor-pointer rounded-full bg-blue-50 dark:bg-blue-900/30 px-3 py-1 text-sm font-bold text-blue-600 dark:text-blue-400 transition-colors hover:text-blue-300 hover:underline"
|
||||
class="inline-flex cursor-pointer items-center gap-1 rounded-full bg-blue-50 dark:bg-blue-900/30 px-3 py-1 text-sm font-bold text-blue-600 dark:text-blue-400 transition-colors hover:text-blue-300 hover:underline"
|
||||
@click="emit('navigate', shop.shopId)"
|
||||
>
|
||||
{{ shop.shopName }}
|
||||
<JumpIcon class="text-xs" />
|
||||
</span>
|
||||
</td>
|
||||
<!-- 目标 -->
|
||||
|
||||
Reference in New Issue
Block a user