Commit 97489894 authored by 袁玲利's avatar 袁玲利

交费明细不能重复点击交费

parent c592bf5d
...@@ -358,6 +358,9 @@ ...@@ -358,6 +358,9 @@
return return
} }
} }
uni.showLoading({
title: '加载中'
});
let data = await this.$http.post({ let data = await this.$http.post({
url: orderApi + '/order-charge/app/charge/project/createOrder' url: orderApi + '/order-charge/app/charge/project/createOrder'
}, { }, {
...@@ -375,6 +378,7 @@ ...@@ -375,6 +378,7 @@
schoolId: this.allData.schoolId, schoolId: this.allData.schoolId,
userId: this.allData.userId userId: this.allData.userId
}) })
uni.hideLoading();
if (data.code != 200) { if (data.code != 200) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
...@@ -389,6 +393,7 @@ ...@@ -389,6 +393,7 @@
} catch (e) { } catch (e) {
//TODO handle the exception //TODO handle the exception
console.log(e); console.log(e);
uni.hideLoading()
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
mask: true, mask: true,
......
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