Commit dab41b21 authored by gongguan's avatar gongguan

修改保存时,loading与toast不可共存的问题

parent a4ac5e12
......@@ -154,11 +154,13 @@ Component({
my.hideLoading();
if (success) {
this.backList();
my.hideLoading();
} else {
this.showFailToast(message);
}
} else {
my.hideLoading();
}
my.hideLoading();
}, 1000),
showFailToast(text) {
my.showToast({
......
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