|
@@ -236,6 +236,7 @@
|
|
|
<script>
|
|
|
import { integralInfo, festivalInfo, start, kill } from "@/api/allApi";
|
|
|
import { setTab } from '@/utils/auth'
|
|
|
+import { debounce } from '@/utils/index'
|
|
|
export default {
|
|
|
data() {
|
|
|
var validPhone = (rule, value, callback) => {
|
|
@@ -351,7 +352,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- handleClickExchange() {
|
|
|
+ submit(){
|
|
|
const params = {
|
|
|
skuId: this.data.skuId,
|
|
|
skuSeq: this.data.skuSeq,
|
|
@@ -376,8 +377,10 @@ export default {
|
|
|
this.dialogMsgVisible = true;
|
|
|
}).catch(() => { })
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
+ handleClickExchange:debounce(function(){
|
|
|
+ this.submit();
|
|
|
+ },2000,true),
|
|
|
}
|
|
|
};
|
|
|
</script>
|