panhui vor 3 Jahren
Ursprung
Commit
939b61d3d3
2 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 3 0
      src/components/star/pay.vue
  2. 1 0
      src/views/star/Create.vue

+ 3 - 0
src/components/star/pay.vue

@@ -52,6 +52,9 @@ export default {
             this.orderId = orderId;
             this.show = true;
         },
+        hide() {
+            this.show = false;
+        },
         pay() {
             switch (this.payMethod) {
                 case 'ALIPAY':

+ 1 - 0
src/views/star/Create.vue

@@ -227,6 +227,7 @@ export default {
         });
 
         const getAsset = () => {
+            pay.value.hide();
             gobal.$toast.loading('加载中');
             gobal.$http
                 .get('/photoAsset/get/' + orderId.value)