Commit 02645b96 by 胡悦

提交

1 parent b26f6231
......@@ -17,7 +17,7 @@ App({
util.setStorageSync('srcm_shopmall_system_info', res)
}
})
this.login()
// this.login()
},
login(returnResponse) {
let _this = this
......
module.exports = Behavior({
lifetimes: {
attached() {
let componentTimer = setInterval(() => {
let thisPage = wx.$router.getPageInstance()
let {
IMGURL,
img_version
} = thisPage.data
if (IMGURL && img_version) {
this.setData({
IMGURL,
img_version
})
clearInterval(componentTimer)
}
}, 0.25 * 1000)
}
}
})
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!