Payment flow refine

This commit is contained in:
Vion
2022-01-23 16:50:49 +08:00
parent 9b4f71074a
commit 8ff86279a0
9 changed files with 83 additions and 53 deletions

View File

@@ -14,6 +14,7 @@
</template>
<script>
import { mapMutations } from "vuex";
export default {
data(){
return{
@@ -39,6 +40,7 @@ export default {
}
},
methods:{
...mapMutations(["checkIsLogin"]),
lianxi(item,index){
if(item.title=='在线客服'){
var option = {
@@ -85,10 +87,14 @@ export default {
this.gotop = false
}
}
},
created(){
},
mounted(){
//Check login
let usernot=JSON.parse(localStorage.getItem("userInfo"));
this.checkIsLogin();
let usernot = this.$store.state.userInfo;
//console.log(usernot);
if(usernot==null ||usernot==undefined){
this.loginornot=true