var?that?=?this
????let?delay_token=app.checkAndLogining();
????delay_token.then(function(res){
??????wx.switchTab({
????????//?url:?'../logs/logs'
????????url:?'../home/home'
??????})
????})微信小程序開發的時候寫了上面的代碼。報錯如下微信小程序好像可以使用es6呀,那錯在哪里呢?
請問這個promise寫對了嗎?為啥說then屬性不存在?
無無法師
2018-03-21 14:23:20