|
@@ -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) {
|