fix: remove unuse
This commit is contained in:
1 parent
57db43e3c6
commit
ba1ccb2a60
1 file changed
+1
-4
@@ -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 }
|
||||
Reference in new issue
Block a user