feat: 添加国际化支持,更新相关配置和组件,优化余额格式化

This commit is contained in:
2025-12-13 20:03:34 +07:00
parent 3866c85815
commit f5c7b1fb0a
14 changed files with 159 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
import type { App } from "@riwa/api-types";
import { treaty } from "@elysiajs/eden";
const client = treaty<App>(`${window.location.origin}/api`, {
const client = treaty<App>(window.location.origin, {
fetch: {
credentials: "include",
},