feat: 文件下载
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 3m54s

This commit is contained in:
sexygoat
2026-04-30 18:04:01 +08:00
parent 81155fd8e4
commit 950520635d
19 changed files with 438 additions and 44 deletions

View File

@@ -121,8 +121,8 @@ export function useAssetFormatters() {
}
// 获取钱包状态标签类型
const getWalletStatusType = (status?: number) => {
const map: Record<number, string> = {
const getWalletStatusType = (status?: number): TagType => {
const map: Record<number, TagType> = {
1: 'success',
2: 'warning',
3: 'danger'
@@ -176,8 +176,8 @@ export function useAssetFormatters() {
}
// 获取交易类型标签颜色
const getTransactionTypeTag = (type: string | undefined) => {
const map: Record<string, string> = {
const getTransactionTypeTag = (type: string | undefined): TagType => {
const map: Record<string, TagType> = {
recharge: 'success',
deduct: 'danger',
refund: 'warning'