wjx 9 meses atrás
pai
commit
7408cc2a88

+ 3 - 3
src/pages/iaaData/tencentIaa/appEveryDayData/tableConfig.tsx

@@ -1,5 +1,5 @@
 import WidthEllipsis from "@/components/widthEllipsis"
-import { Badge, Statistic } from "antd"
+import { Statistic } from "antd"
 import React from "react"
 import { PRODUCT_TYPE_ENUM } from "../../const"
 import { formatSecondsToTime } from "@/utils/utils"
@@ -74,7 +74,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                 },
                 {
                     title: 'DAU', tips: '日活用户人数', dataIndex: 'dau', label: '应用端指标', align: 'center', width: 80, default: 13, sorter: true,
-                    render: (a: number) => <Statistic value={a || 0} precision={2} />
+                    render: (a: number) => <Statistic value={a || 0} />
                 },
                 {
                     title: '新增占比', tips: '新增注册人数/DAU', dataIndex: 'newProportion', label: '应用端指标', align: 'center', width: 90, default: 14, sorter: true,
@@ -134,7 +134,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
                 },
                 {
                     title: '活跃用户次日留存人数', dataIndex: 'retainedUserTomorrow', label: '应用端指标', align: 'center', width: 85, default: 28, sorter: true,
-                    render: (a: number) => <Statistic value={a || 0} />
+                    render: (a: number) => <Statistic value={a || 0} precision={0} />
                 },
                 {
                     title: '活跃用户次日留存率', tips: '指定时间活跃(即访问小游戏)的用户,在之后的第1天(或周、月),再次访问小游戏的用户数占比', dataIndex: 'retainedUserTomorrowRate', label: '应用端指标', align: 'center', width: 85, default: 29, sorter: true,