congzc vor 1 Jahr
Ursprung
Commit
40a18dd7b1
2 geänderte Dateien mit 12 neuen und 9 gelöschten Zeilen
  1. +6
    -3
      src/permission.ts
  2. +6
    -6
      src/views/myAccount/index.vue

+ 6
- 3
src/permission.ts Datei anzeigen

@@ -17,15 +17,18 @@ router.beforeEach(async (to, from, next) => {
// 已登录
if (AccessToken) {
// 重置密码时可以去往login页面
if ((to.params.type as string) == "4") {
// if ((to.params.type as string) == "4") {
// next();
// }
if (to.params.type ) {
next();
return
}
// 邮件重置密码 忘记密码
if (to.query.resetPwd) {
next();
}
if (to.path === "/login") {
// next({ path: "/createVideo" });
next({ path: "/createVideo" });
} else {
next();
}


+ 6
- 6
src/views/myAccount/index.vue Datei anzeigen

@@ -522,16 +522,16 @@ function routerTo(url) {
position: relative;
height: 200px;
overflow: hidden;
&:hover {
.mask {
display: block;
}
}
// &:hover {
// .mask {
// display: block;
// }
// }
.mask {
position: absolute;
top: 0;
left: 0;
display: none;
// display: none;
width: 100%;
height: 100%;
line-height: 780px;


Laden…
Abbrechen
Speichern