Commit 36e4e682 authored by 胡's avatar

fix: 页面显示问题

parent 2237efd4
......@@ -14,7 +14,7 @@
<!-- <div :class="['top',(multipleRole!=='GUTA'&&user_bp_type!=='GUTA')?'has':'antiHas']" style="margin-top:-1px;"> -->
<div class="top" style="margin-top: -1px">
<div class="card-top" :style="{height: nowBind.bp_type==='MANAGER'?'3.4rem' : '2.4rem'}">
<div class="card-top" :style="{ height: nowBind.bp_type === 'MANAGER' ? '3.4rem' : '2.4rem' }">
<img :src="upLoadObj" @click="checkType" />
<div class="sign">
<span>{{ user_phone }}</span>
......@@ -266,7 +266,7 @@ export default {
mounted() {
this.getList()
this.getMultipleRole();
this.getHead();
this.getHead();
},
beforeRouteEnter(to, from, next) {
next((vm) => {
......@@ -318,6 +318,9 @@ export default {
window.localStorage.setItem('bind-user-list', JSON.stringify(query.lists));
// window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify(query.lists.length ? query.lists[0] : {}));
if (!query.lists.length)
window.localStorage.setItem('now_user_bp_bind_id', JSON.stringify({}));
this.bindUserList = query.lists;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment