Pārlūkot izejas kodu

修改退订轻提示

litong 2 gadi atpakaļ
vecāks
revīzija
df185bafee
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. 6 1
      purchase_H5/src/components/unbuyModal.vue

+ 6 - 1
purchase_H5/src/components/unbuyModal.vue

@@ -347,7 +347,11 @@ export default {
         userid: this.$store.state.user.userid,
       };
       await this.postReson(this.$store.state.user.userid, this.$store.state.user.phone);
-      this.$toast.loading('退订中')
+        this.$toast.loading({
+            type: "loading",
+            message: "退订中",
+            duration: 0
+        })
       postBuy(updata).then((res) => {
         if (res.code === 10000) {
           addR.unBuySuccess();
@@ -362,6 +366,7 @@ export default {
           theme: "round-button",
         });
         this.$emit("change", false);
+        this.$toast.clear()
       }
       );
     },