zhaoxiaoqiang
2022-11-28 c1fdd4cd63f2b70ca04e5af4321a38228b877850
src/views/personal/personal-center.vue
@@ -2,17 +2,17 @@
 * @Author: 小明丶
 * @Date: 2020-05-21 16:03:42
 * @LastEditors: zxq
 * @LastEditTime: 2022-06-15 09:41:41
 * @LastEditTime: 2022-08-12 15:31:38
 * @Description: 
--> 
<template>
  <div class="personal-center-page">
    <div class="top-box">
      <div class="top-img-box">
        <img :src="mation.headimgurl" alt="头像" />
        <img src="../../../static/img/touxiang.png" alt="头像" />
      </div>
      <div class="top-info-box">
        <p>{{mation.nickname}}</p>
        <!-- <p>{{mation.nickname}}</p> -->
        <p>{{userinfo.mblNo}}</p>
      </div>
      <div :class="{'fn-box':true,'fn_box1':!userinfo.hasBankCard,'fn_box':userinfo.hasBankCard}">
@@ -54,8 +54,8 @@
  computed:{
    ...mapState(['userinfo']),
    mation(){
      if(localStorage.edu_ins_client_userMation){
        return JSON.parse(localStorage.edu_ins_client_userMation)
      if(localStorage.axx_ins_client_userMation){
        return JSON.parse(localStorage.axx_ins_client_userMation)
      }
    }
  },
@@ -77,7 +77,7 @@
        //清除openId session等存储,跳转登录页面
        localStorage.clear()
        sessionStorage.clear()
        this.$router.push('/')
        this.$router.push('/login')
      })
    },
    getBaseInfo(){