Commit 36e4e682 authored by 胡's avatar

fix: 页面显示问题

parent 2237efd4
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<!-- <div :class="['top',(multipleRole!=='GUTA'&&user_bp_type!=='GUTA')?'has':'antiHas']" style="margin-top:-1px;"> --> <!-- <div :class="['top',(multipleRole!=='GUTA'&&user_bp_type!=='GUTA')?'has':'antiHas']" style="margin-top:-1px;"> -->
<div class="top" 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" /> <img :src="upLoadObj" @click="checkType" />
<div class="sign"> <div class="sign">
<span>{{ user_phone }}</span> <span>{{ user_phone }}</span>
...@@ -266,7 +266,7 @@ export default { ...@@ -266,7 +266,7 @@ export default {
mounted() { mounted() {
this.getList() this.getList()
this.getMultipleRole(); this.getMultipleRole();
this.getHead(); this.getHead();
}, },
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
next((vm) => { next((vm) => {
...@@ -318,6 +318,9 @@ export default { ...@@ -318,6 +318,9 @@ export default {
window.localStorage.setItem('bind-user-list', JSON.stringify(query.lists)); 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] : {})); // 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; this.bindUserList = query.lists;
} else { } 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