Browse Source

考试链接

natasha 1 năm trước cách đây
mục cha
commit
f4a5aa201b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/components/login/login.vue

+ 3 - 0
src/components/login/login.vue

@@ -417,6 +417,9 @@ export default {
           setI18nLang(this.language_type).then(() => {
             if (isShare) {
               location.href = isShare;
+            } else if (localStorage.getItem("testLink")) {
+              location.href = localStorage.getItem("testLink");
+              localStorage.removeItem("testLink");
             } else if (
               res.popedom_code_list.indexOf(2000001) > -1 ||
               res.user_type == "STUDENT"