fix: 修复 Rust 编译错误并成功启动 Tauri 应用

- 修复 commands.rs 中的重复导入问题
- 清理未使用的导入
- 统一 Vite 和 Tauri 配置的端口为 3000
- 添加 Tauri 前端依赖包
- 应用已成功编译并运行
This commit is contained in:
farion1231
2025-08-23 21:00:50 +08:00
parent 88e69e844a
commit 29581b85d9
7 changed files with 5145 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
use std::sync::Mutex;
use crate::config::{get_app_config_path, read_json_file, write_json_file};
use crate::provider::{Provider, ProviderManager};
use crate::config::get_app_config_path;
use crate::provider::ProviderManager;
/// 全局应用状态
pub struct AppState {