(name: string, avatar?: string)
| 85 | |
| 86 | // 创建新账户 |
| 87 | export async function createAccount(name: string, avatar?: string): Promise<Account> { |
| 88 | return stores.account.create({ name, avatar }) |
| 89 | } |
| 90 | |
| 91 | // 更新账户信息 |
| 92 | export async function updateAccount( |
no test coverage detected