mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-25 08:01:54 +08:00
feat(frontend): optimize frontend interaction (#8)
Support auto refresh. Change authentication method. Streamline the frontend code.
This commit is contained in:
@@ -8,7 +8,9 @@ import '@/utils/index'
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
Vue.use(Antd);
|
||||
export const store = Vue.observable({authed: localStorage.getItem("token")})
|
||||
export const store = Vue.observable({
|
||||
authed: true,
|
||||
})
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
router: router,
|
||||
|
||||
Reference in New Issue
Block a user