fix: asset not load

This commit is contained in:
手瓜一十雪
2024-05-08 21:00:53 +08:00
parent 3268fc1014
commit 5b521409c6
4 changed files with 10 additions and 1 deletions

View File

@@ -148,6 +148,7 @@ const OB11ConfigWrapper = new WebUiApiOB11ConfigWrapper();
async function onSettingWindowCreated(view) {
const isEmpty = (value) => value === void 0 || value === void 0 || value === "";
await OB11ConfigWrapper.Init(localStorage.getItem("auth"));
let ob11Config = await OB11ConfigWrapper.GetOB11Config();
const setOB11Config = (key, value) => {
const configKey = key.split(".");