Compare commits
No commits in common. "5664f1be9e75788c4be5960dde402e8e28169ea5" and "c5f707efb9170cec1208a25dd3858bbfade3723c" have entirely different histories.
5664f1be9e
...
c5f707efb9
|
@ -39,12 +39,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
.noscroll {
|
||||
html::-webkit-scrollbar, body::-webkit-scrollbar {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.noscroll::-webkit-scrollbar {
|
||||
html, body {
|
||||
overflow-y: hidden;
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -82,12 +82,6 @@ const router = new VueRouter({
|
|||
|
||||
router.beforeEach((to, from, next) => {
|
||||
if (to.path !== '/login') {
|
||||
if (to.path === '/content/series/list') {
|
||||
document.documentElement.classList.add('noscroll'); // html에 클래스 추가
|
||||
} else {
|
||||
document.documentElement.classList.remove('noscroll');
|
||||
}
|
||||
|
||||
const isAuthenticated = store.getters['accountStore/isAuthenticated']
|
||||
if (isAuthenticated) {
|
||||
next();
|
||||
|
|
Loading…
Reference in New Issue