Michael Wang hace 3 años
padre
commit
24f857b0b3
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/features/OnlineExam/OnlineExamHome.vue

+ 3 - 1
src/features/OnlineExam/OnlineExamHome.vue

@@ -95,7 +95,9 @@ export default {
   beforeMount() {
     this.$nextTick(() => {
       if (
-        (this.previousUrl.startsWith("/login/") || this.previousUrl === "/") &&
+        (this.previousUrl.startsWith("/login/") ||
+          this.previousUrl === "/" ||
+          this.previousUrl === "/login") &&
         process.env.NODE_ENV !== "development"
       ) {
         this.$Modal.info({