mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
feat: Finishing code
This commit is contained in:
parent
beb372d102
commit
f02ad6f788
@ -27,8 +27,6 @@ async function onSettingWindowCreated(view: Element) {
|
|||||||
|
|
||||||
window.llonebot.setConfig(config);
|
window.llonebot.setConfig(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(config, ob11Config);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const parser = new DOMParser();
|
const parser = new DOMParser();
|
||||||
@ -165,7 +163,6 @@ async function onSettingWindowCreated(view: Element) {
|
|||||||
dom.deleteBtn.dataset.type = 'secondary';
|
dom.deleteBtn.dataset.type = 'secondary';
|
||||||
dom.deleteBtn.addEventListener('click', () => {
|
dom.deleteBtn.addEventListener('click', () => {
|
||||||
ob11Config[type].splice(index, 1);
|
ob11Config[type].splice(index, 1);
|
||||||
console.log(ob11Config);
|
|
||||||
initReverseHost(type);
|
initReverseHost(type);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user