refactor: 应用 UI 工程化
This commit is contained in:
3 files changed
+19
-9
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { invoke } from "@tauri-apps/api/core"
|
||||
import { Level } from "@/types"
|
||||
|
||||
/**
|
||||
* 从服务端获取下一条祖安语录
|
||||
* @param level 祖安级别
|
||||
*/
|
||||
export async function nextZuan(level?: Level) {
|
||||
return await invoke<string>("get_message", { level })
|
||||
}
|
||||
Reference in new issue
Block a user