chore: control center

This commit is contained in:
lencx
2022-12-15 11:29:06 +08:00
parent 396dc0b762
commit 7b12d3ebfe
5 changed files with 67 additions and 27 deletions

View File

@@ -36,7 +36,7 @@ pub fn get_chat_conf() -> ChatConfJson {
#[command]
pub fn form_confirm(_app: AppHandle, data: serde_json::Value) {
ChatConfJson::amend(&serde_json::json!(data)).unwrap();
ChatConfJson::amend(&serde_json::json!(data), None).unwrap();
}
#[command]