|
|
@@ -98,7 +98,7 @@ export default {
|
|
|
totalPrice:0,
|
|
|
orderSn:'',
|
|
|
getPayType:1,
|
|
|
- hasRequest:false
|
|
|
+ hasRequestApi:false
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -144,14 +144,14 @@ export default {
|
|
|
let that = this
|
|
|
|
|
|
//解决重复提交问题
|
|
|
- if(this.hasRequest == true){
|
|
|
- this.$msg('正在请求,请5秒后再试')
|
|
|
+ if(this.hasRequestApi == true){
|
|
|
+ this.$msg('正在请求,请5秒后重试')
|
|
|
return false
|
|
|
}
|
|
|
- that.hasRequest = true
|
|
|
- setTimeout(() => {
|
|
|
- that.hasRequest = false
|
|
|
- },7000)
|
|
|
+ that.hasRequestApi = true
|
|
|
+ setTimeout(() => {
|
|
|
+ that.hasRequestApi = false
|
|
|
+ },7000)
|
|
|
|
|
|
uni.showLoading({title: '加载中',mask:true})
|
|
|
uni.login({
|