1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-04 22:41:24 +08:00

Added login, logout and getUserinfo (Include ui and server)

This commit is contained in:
2023-05-05 20:59:09 +08:00
parent a8dce8f8e0
commit 60b8460e03
32 changed files with 1022 additions and 151 deletions

View File

@@ -5,18 +5,6 @@ import router from '@/router'
import '@/assets/css/base.css'
import '@/assets/css/common.css'
/*
router.beforeEach((to, from, next) => {
if (to.matched.length === 0) {
from.path ? next({ path: from.path }) : next('/')
} else {
if (to.meta.title) {
document.title = PRODUCTION_NAME + ' - ' + to.meta.title
}
}
})
*/
const app = createApp(App)
app.use(router).mount('#app')