Commit f781bf9b authored by sjf1256754123's avatar sjf1256754123

de

parent cf7ff16f
......@@ -1957,7 +1957,9 @@
this.$http.post(`/sict-ncov/report`, data).then(res => {
const d = res.data
if (d.code == 1) {
uni.navigateBack()
uni.switchTab({
url: '/pages/index/index',
});
uni.showToast({
icon: 'success',
title: '提交成功'
......
......@@ -47,7 +47,7 @@
if (d.code == 1) {
uni.showToast({
icon: 'success',
title: d.object
title: d.object || d.message
})
}
}).catch(err => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment