feat: 增加账单

This commit is contained in:
archer
2023-03-21 14:01:35 +08:00
parent dc467c26b5
commit 42c26bd155
15 changed files with 211 additions and 64 deletions

View File

@@ -9,3 +9,10 @@ export const getToken = () => {
export const clearToken = () => {
localStorage.removeItem(tokenKey);
};
/**
* 把数据库读取到的price转化成元
*/
export const formatPrice = (val: number) => {
return val / 100000;
};