账单报表
This commit is contained in:
@@ -28,8 +28,8 @@ Component({
|
||||
data: {
|
||||
list: [
|
||||
{ value: 'label_1', icon: 'home', ariaLabel: '首页' },
|
||||
{ value: 'label_2', icon: 'app', ariaLabel: '统计' },
|
||||
{ value: 'label_3', icon: 'chat', ariaLabel: '资产' },
|
||||
{ value: 'label_2', icon: 'chart', ariaLabel: '统计' },
|
||||
{ value: 'label_3', icon: 'creditcard', ariaLabel: '资产' },
|
||||
{ value: 'label_4', icon: 'user', ariaLabel: '我的' },
|
||||
],
|
||||
},
|
||||
@@ -60,21 +60,7 @@ Component({
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
checkLogin(){
|
||||
// let userInfo = wx.getStorageSync('userInfo');
|
||||
// let token = wx.getStorageSync('userToken');
|
||||
// if (userInfo && token){
|
||||
// return true;
|
||||
// }else {
|
||||
// return false;
|
||||
// }
|
||||
},
|
||||
|
||||
onChange(event) {
|
||||
// if (!this.checkLogin()){
|
||||
// wx.redirectTo({url:"/pages/login/index"});
|
||||
// }
|
||||
this.setIconData(event.detail.value);
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user