Commit 9a037a59 authored by youjie's avatar youjie

取消失败原因提示

parent 4629d42c
...@@ -552,6 +552,10 @@ ...@@ -552,6 +552,10 @@
uni.hideLoading() uni.hideLoading()
}, },
(err) => { (err) => {
uni.showToast({
title: err.message,
icon: "none",
});
uni.hideLoading() uni.hideLoading()
} }
); );
......
...@@ -256,6 +256,10 @@ ...@@ -256,6 +256,10 @@
}, },
(err) => { (err) => {
uni.hideLoading() uni.hideLoading()
uni.showToast({
title: err.message,
icon: "none",
});
that.DataLists[that.i].loading = false that.DataLists[that.i].loading = false
} }
); );
......
...@@ -431,7 +431,12 @@ ...@@ -431,7 +431,12 @@
} }
that.submitCancel = false that.submitCancel = false
}, },
(err) => {} (err) => {
uni.showToast({
title: err.message,
icon: "none",
});
}
); );
}else that.submitCancel = false }else that.submitCancel = false
} }
......
...@@ -804,6 +804,10 @@ ...@@ -804,6 +804,10 @@
this.submitCancel = false this.submitCancel = false
}, },
(err) => { (err) => {
uni.showToast({
title: err.message,
icon: "none",
});
this.submitCancel = false this.submitCancel = false
} }
); );
......
...@@ -417,7 +417,12 @@ ...@@ -417,7 +417,12 @@
} }
that.submitCancel = false that.submitCancel = false
}, },
(err) => {} (err) => {
uni.showToast({
title: err.message,
icon: "none",
});
}
); );
}else that.submitCancel = false }else that.submitCancel = false
} }
......
...@@ -768,6 +768,10 @@ ...@@ -768,6 +768,10 @@
this.submitCancel = false this.submitCancel = false
}, },
(err) => { (err) => {
uni.showToast({
title: err.message,
icon: "none",
});
this.submitCancel = false this.submitCancel = false
} }
); );
......
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