Michael Wang 3 years ago
parent
commit
24f857b0b3
1 changed files with 3 additions and 1 deletions
  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({