|
@@ -13,13 +13,18 @@ async function handleSaveResult() {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- await apiUser.saveEvaluationResult({ data: decodeURIComponent(route.query.result)})
|
|
|
+ cosnt res=await apiUser.saveEvaluationResult({ data: decodeURIComponent(route.query.result)})
|
|
|
+ if(res.Ret!==200){
|
|
|
+ setTimeout(() => {
|
|
|
+ Toast(res.Msg)
|
|
|
+ }, 500);
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
handleSaveResult()
|
|
|
|
|
|
function handleBack() {
|
|
|
- wx.miniProgram.navigateTo({
|
|
|
+ wx.miniProgram.switchTab({
|
|
|
url: `/pages/index/index`,
|
|
|
});
|
|
|
}
|