var?that?=?this
????let?delay_token=app.checkAndLogining();
????delay_token.then(function(res){
??????wx.switchTab({
????????//?url:?'../logs/logs'
????????url:?'../home/home'
??????})
????})微信小程序開發(fā)的時(shí)候?qū)懥松厦娴拇a。報(bào)錯(cuò)如下微信小程序好像可以使用es6呀,那錯(cuò)在哪里呢?
請(qǐng)問這個(gè)promise寫對(duì)了嗎?為啥說then屬性不存在?
無無法師
2018-03-21 14:23:20