提交 3b993610 authored 作者: 何忠建's avatar 何忠建

优化调整

上级 12101059
...@@ -388,7 +388,6 @@ ...@@ -388,7 +388,6 @@
}); });
}, },
initData() { initData() {
this.getPropertyAdv()
const token = uni.getStorageSync('token'); const token = uni.getStorageSync('token');
//console.log(token) //console.log(token)
if (token) { if (token) {
...@@ -405,12 +404,13 @@ ...@@ -405,12 +404,13 @@
onLoad() { onLoad() {
const menuButton = wx.getMenuButtonBoundingClientRect() const menuButton = wx.getMenuButtonBoundingClientRect()
this.statusBarHeight = menuButton.top this.statusBarHeight = menuButton.top
this.initData() this.getPropertyAdv()
}, },
onShow() { onShow() {
const token = uni.getStorageSync('token'); const token = uni.getStorageSync('token');
//console.log(token) //console.log(token)
if (token) { if (token) {
this.initData()
this.isLogin = true this.isLogin = true
this.userAvatar = uni.getStorageSync('user_avatar') this.userAvatar = uni.getStorageSync('user_avatar')
this.userName = uni.getStorageSync('user_name') this.userName = uni.getStorageSync('user_name')
......
...@@ -263,6 +263,7 @@ ...@@ -263,6 +263,7 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
border-top: 1px solid #F5F4FF; border-top: 1px solid #F5F4FF;
z-index: 999;
.left { .left {
.amount { .amount {
......
...@@ -186,9 +186,9 @@ ...@@ -186,9 +186,9 @@
title: '保存成功!', title: '保存成功!',
icon: 'none' icon: 'none'
}); });
uni.navigateTo({ uni.reLaunch({
url: '/pages/settlementList/index' url: '/pages/home/index'
}); })
}, 30) }, 30)
} }
...@@ -383,6 +383,7 @@ ...@@ -383,6 +383,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
z-index: 999;
.left { .left {
.amount { .amount {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论