Compare commits

..

No commits in common. "5664f1be9e75788c4be5960dde402e8e28169ea5" and "c5f707efb9170cec1208a25dd3858bbfade3723c" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View File

@ -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>

View File

@ -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();