refactored doll editor svelte file

This commit is contained in:
2026-01-15 17:08:49 +08:00
parent 9f185c83eb
commit a20b363d07
3 changed files with 6 additions and 11 deletions

View File

@@ -96,9 +96,9 @@ pub async fn open_doll_editor_window(doll_id: Option<String>) {
}
let url_path = if let Some(id) = doll_id {
format!("/app-menu/tabs/your-dolls/doll-editor?id={}", id)
format!("/doll-editor?id={}", id)
} else {
"/app-menu/tabs/your-dolls/doll-editor".to_string()
"/doll-editor".to_string()
};
let mut builder = tauri::WebviewWindowBuilder::new(