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

优化调整

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