panhui 3 lat temu
rodzic
commit
874665d79a
2 zmienionych plików z 8 dodań i 0 usunięć
  1. 4 0
      src/views/Submit.vue
  2. 4 0
      src/views/activity/Submit.vue

+ 4 - 0
src/views/Submit.vue

@@ -344,6 +344,10 @@ export default {
             if (!this.checkWebDriver(e)) {
                 return;
             }
+            this.$toast.loading({
+                message: '加载中...',
+                forbidClick: true
+            });
             this.createOrder()
                 .then(res => {
                     this.orderId = res.id;

+ 4 - 0
src/views/activity/Submit.vue

@@ -254,6 +254,10 @@ export default {
                 this.$toast('请选择支付方式');
                 return;
             }
+            this.$toast.loading({
+                message: '加载中...',
+                forbidClick: true
+            });
             this.createOrder()
                 .then(res => {
                     this.$toast.clear();