|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="login-page scrollbar-box">
|
|
|
+ <div class="login-page scrollbar-box" v-show="showType">
|
|
|
<!--<img class="logo-img" src="@/assets/image/logo@1x.png">-->
|
|
|
<img class="logo-img" :src="rectangleLogo">
|
|
|
<div class="title-img-box">
|
|
@@ -96,6 +96,7 @@
|
|
|
codeNum:"",
|
|
|
timer:null,
|
|
|
codeButtonType:true,
|
|
|
+ showType:false,
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -109,6 +110,7 @@
|
|
|
created() {
|
|
|
let self = this;
|
|
|
if(getToken()){
|
|
|
+ this.$set(this,'showType',false);
|
|
|
Promise.all([
|
|
|
this.getExploitConfig(),
|
|
|
this.getInfo(),
|
|
@@ -119,6 +121,7 @@
|
|
|
},300);
|
|
|
}).catch((error) => {})
|
|
|
}else{
|
|
|
+ this.$set(this,'showType',true);
|
|
|
this.getCode();
|
|
|
}
|
|
|
},
|