代码优化

This commit is contained in:
仲么了
2024-01-26 16:22:18 +08:00
parent 5267ae1903
commit 7cfa3c0a9e
3 changed files with 20 additions and 27 deletions

View File

@@ -79,9 +79,7 @@ const state = reactive({
showAdminInfoPopover: false
})
const onCurrentNavMenu = (status: boolean, name: string) => {
state.currentNavMenu = status ? name : ''
}
const savePng = () => {
html2canvas(document.body, {
scale: 1,
@@ -104,11 +102,6 @@ const onFullScreen = () => {
})
}
const onAdminInfo = () => {
state.showAdminInfoPopover = false
routePush({ name: 'routine/adminInfo' })
}
const handleCommand = (key: string) => {
console.log(key)
switch (key) {