- 创建 tauri-api.ts 封装所有 Tauri invoke 调用 - 保持与 Electron API 相同的接口,确保代码兼容性 - 添加类型声明文件 vite-env.d.ts - 在 main.tsx 中导入 Tauri API