chore: update

This commit is contained in:
huzibaca 2024-11-30 07:04:09 +08:00
parent 16c9c95e19
commit 0eb5ee6ea8
2 changed files with 4 additions and 0 deletions

View File

@ -319,6 +319,7 @@ pub async fn update_profile(uid: String, option: Option<PrfOption>) -> Result<()
handle::Handle::refresh_clash(); handle::Handle::refresh_clash();
} }
Err(err) => { Err(err) => {
handle::Handle::notice_message("set_config::error", format!("{err}"));
log::error!(target: "app", "{err}"); log::error!(target: "app", "{err}");
} }
} }

View File

@ -77,6 +77,9 @@ const Layout = () => {
navigate("/profile"); navigate("/profile");
Notice.error(msg); Notice.error(msg);
break; break;
case "set_config::error":
Notice.error(msg);
break;
default: default:
break; break;
} }