feat: webui finish!!
This commit is contained in:
1 parent
211c547951
commit
b09a189b0b
2 files changed
+13
-9
No files matched your search
@@ -8,7 +8,11 @@ async function onSettingWindowCreated(view: Element) {
|
||||
const isEmpty = (value: any) => value === undefined || value === undefined || value === '';
|
||||
let ob11Config: OB11Config = await OB11ConfigWrapper.GetOB11Config();
|
||||
const setOB11Config = (key: string, value: any) => {
|
||||
console.log(key, value);
|
||||
const configKey = key.split('.');
|
||||
if (configKey.length === 2) {
|
||||
ob11Config[configKey[1]] = value;
|
||||
}
|
||||
OB11ConfigWrapper.SetOB11Config(ob11Config);
|
||||
}
|
||||
|
||||
const parser = new DOMParser();
|
||||
|
||||
Reference in new issue
Block a user