lex-xin 3 lat temu
rodzic
commit
1b804a9137
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      src/App.vue

+ 6 - 0
src/App.vue

@@ -18,6 +18,7 @@ export default {
   async created() {
     try {
       const Authorization = this.getQueryVariable('Authorization')
+      console.log(decodeURI(Authorization))
       if (Authorization) {
         localStorage.setItem("Authorization", decodeURI(Authorization));
         localStorage.setItem("userInfo", decodeURI(Authorization));
@@ -33,6 +34,11 @@ export default {
       }
     } catch(e) {}
   },
+  async mounted() {
+    if(document.querySelector('#m_loading')) {
+      document.querySelector('#m_loading').remove()
+    }
+  },
   methods: {
     getQueryVariable(variable) {
       if (window.location.hash.indexOf("?") < 0) {