提交 4a92cb69 authored 作者: 羊富学's avatar 羊富学

upload跳转结果页放到全部接口请求完后在跳

上级 883a4615
...@@ -917,11 +917,6 @@ Page({ ...@@ -917,11 +917,6 @@ Page({
// return // return
// } // }
// 跳转到结果页面
wx.reLaunch({
url: `/pages/result/result?time1=${util.formatTime(new Date()) || this.data.people_time}&time2=${new Date().getTime()}&aiState=${aiState}`
})
return
//更新数据 //更新数据
this.setData({ this.setData({
isLoading: false, isLoading: false,
...@@ -1223,6 +1218,12 @@ Page({ ...@@ -1223,6 +1218,12 @@ Page({
} catch (e) { } catch (e) {
console.log('eee', e) console.log('eee', e)
} }
// 跳转到结果页面
wx.reLaunch({
url: `/pages/result/result?time1=${util.formatTime(new Date()) || this.data.people_time}&time2=${new Date().getTime()}&aiState=${aiState}`
})
return
}, },
fail: (res) => { fail: (res) => {
console.log('分类接口报错', res) console.log('分类接口报错', res)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论