feat: add like albums & follow artists function

This commit is contained in:
qier222 2020-10-26 15:46:02 +08:00
parent 81ec2fe6b9
commit 2f41e0237d
28 changed files with 461 additions and 145 deletions

View file

@ -118,7 +118,7 @@ const router = new VueRouter({
router.beforeEach((to, from, next) => {
// 需要登录的逻辑
if (to.meta.requireLogin) {
if (store.state.settings.user.nickname === undefined) {
if (store.state.data.user.nickname === undefined) {
next({ path: "/login" });
}
if (isLooseLoggedIn()) {