From b1751784ba251c9bdfd60e6aeb07050ac71f0950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 12 Sep 2026 13:26:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=88=87=E5=88=86=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=86=99=E5=85=A5=E6=97=A5=E5=BF=97=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除状态写入完成日志中多余的格式参数 --- .../src-tauri/src/ui_editor/commands/separation/persistence.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/persistence.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/persistence.rs index c35737d86..637722fa1 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/persistence.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/persistence.rs @@ -97,8 +97,7 @@ fn write_separation_state_blocking(path: &Path, bytes: &[u8]) -> Result<(), Stri .unwrap_or(""), fs::metadata(path) .map(|metadata| metadata.len()) - .unwrap_or(0), - bytes.len() + .unwrap_or(0) ); Ok(()) }