mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: remove unuse
This commit is contained in:
parent
9fce617c57
commit
07e8acd003
@ -3,9 +3,7 @@ import { SettingItem } from "./SettingItem";
|
||||
import { SettingButton } from "./SettingButton";
|
||||
import { SettingSwitch } from "./SettingSwitch";
|
||||
import { SettingSelect } from "./SettingSelect";
|
||||
|
||||
function aprilFoolsEgg(node: Element) {
|
||||
async function onSettingWindowCreated(view: Element) {
|
||||
async function onSettingWindowCreated(view: Element) {
|
||||
const isEmpty = (value: any) => value === undefined || value === undefined || value === ''
|
||||
//@ts-ignore 等待替换为异步Http获取 带上Token
|
||||
let config = await window.llonebot.getConfig();
|
||||
@ -414,6 +412,5 @@ function aprilFoolsEgg(node: Element) {
|
||||
//@ts-ignore 等待替换为前端实现
|
||||
window.llonebot.setConfig(true, config)
|
||||
})
|
||||
}
|
||||
}
|
||||
export { onSettingWindowCreated }
|
Loading…
x
Reference in New Issue
Block a user