|
|
@@ -29,6 +29,9 @@ Page({
|
|
|
if (!this.data.freshen) {
|
|
|
return;
|
|
|
}
|
|
|
+ this.setData({
|
|
|
+ disable: false
|
|
|
+ })
|
|
|
$api.getAuthinfo().then(res=>{
|
|
|
this.setData({
|
|
|
role: res.data.data.role,
|
|
|
@@ -271,6 +274,7 @@ Page({
|
|
|
})
|
|
|
this.setData({
|
|
|
freshen: true,
|
|
|
+ disable: false
|
|
|
})
|
|
|
setTimeout(() => {
|
|
|
this.setData({
|
|
|
@@ -279,14 +283,19 @@ Page({
|
|
|
today_stock_img: [],
|
|
|
value: [-1],
|
|
|
is_markt: 0,
|
|
|
- today_fund: '',
|
|
|
- disable: false
|
|
|
+ today_fund: ''
|
|
|
+
|
|
|
})
|
|
|
wx.switchTab({
|
|
|
url: '../index/index',
|
|
|
})
|
|
|
}, 200)
|
|
|
})
|
|
|
+ .catch(err => {
|
|
|
+ this.setData({
|
|
|
+ disable:false
|
|
|
+ })
|
|
|
+ })
|
|
|
}else{
|
|
|
this.setData({
|
|
|
show:1
|