|
@@ -74,6 +74,9 @@
|
|
|
toast,
|
|
|
getUserIdentity
|
|
|
} from "@/utils/common";
|
|
|
+ import {
|
|
|
+ debounce
|
|
|
+ } from "@/utils/common";
|
|
|
let payType = ref('zhifubao')
|
|
|
let cardId = ref('')
|
|
|
let formPage = ref('')
|
|
@@ -140,8 +143,11 @@
|
|
|
}, 3000)
|
|
|
}
|
|
|
|
|
|
- function creatOrder(data) {
|
|
|
|
|
|
+
|
|
|
+ const creatOrder= debounce((data)=> {
|
|
|
+
|
|
|
+ console.log('123123123123');
|
|
|
if (isLoading.value) {
|
|
|
return
|
|
|
}
|
|
@@ -150,7 +156,6 @@
|
|
|
title: '',
|
|
|
mask: true
|
|
|
});
|
|
|
-
|
|
|
if (payType.value == 'weixin') {
|
|
|
let req = {
|
|
|
cardId: cardId.value
|
|
@@ -314,7 +319,7 @@
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- }
|
|
|
+ },500)
|
|
|
|
|
|
function goBack(data) {
|
|
|
if (formPage.value == 'my') {
|