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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user