web client support retry

This commit is contained in:
2022-03-08 18:06:53 +08:00
parent e408e26430
commit cf4c419f47
8 changed files with 206 additions and 124 deletions

View File

@@ -284,6 +284,10 @@ impl SettingStore {
}
}
pub fn get(&self, key: &str) -> Option<JsonValue> {
self.data.get(key)
}
pub fn get_str(&self, key: &str) -> Option<String> {
let obj = self.data.get(key);
if obj.is_none() {