mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
fix: asset not load
This commit is contained in:
parent
3268fc1014
commit
5b521409c6
@ -6,6 +6,7 @@ import { SettingSelect } from "./components/SettingSelect";
|
||||
import { OB11Config, OB11ConfigWrapper } from "./components/WebUiApiOB11Config"
|
||||
async function onSettingWindowCreated(view: Element) {
|
||||
const isEmpty = (value: any) => value === undefined || value === undefined || value === '';
|
||||
await OB11ConfigWrapper.Init(localStorage.getItem('auth') as string);
|
||||
let ob11Config: OB11Config = await OB11ConfigWrapper.GetOB11Config();
|
||||
const setOB11Config = (key: string, value: any) => {
|
||||
const configKey = key.split('.');
|
||||
|
@ -138,7 +138,7 @@
|
||||
color: #333;
|
||||
}
|
||||
</style>
|
||||
<script src="https://cdn.jsdelivr.net/npm/qrcode/build/qrcode.min.js"></script>
|
||||
<script src="./assets/qrcode.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
7
static/assets/qrcode.min.js
vendored
Normal file
7
static/assets/qrcode.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -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(".");
|
||||
|
Loading…
Reference in New Issue
Block a user