plg 7 kuukautta sitten
vanhempi
commit
aa93bd86af
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      newScale/paymentPage/index.vue

+ 5 - 5
newScale/paymentPage/index.vue

@@ -260,14 +260,14 @@ export default {
               if (res == "已取消支付") {
                 uni.showToast({
                   icon: "none",
-                  name: "已取消支付",
+                  title: "已取消支付",
                 });
                 //提示用户取消了
                 return;
               } else if (res == "支付失败了") {
                 uni.showToast({
                   icon: "none",
-                  name: "支付失败了",
+                  title: "支付失败了",
                 });
                 //弹出框提示
                 return;
@@ -299,7 +299,7 @@ export default {
             //提示支付成功
             uni.showToast({
               icon: "none",
-              name: "支付成功",
+              title: "支付成功",
             });
             uni.navigateTo({
               url: `/newScale/${this.scaleName}/testResult?resultId=${this.orderInfo.resultId}&messageShare=1`,
@@ -307,7 +307,7 @@ export default {
           } else {
             uni.showToast({
               icon: "none",
-              name: "支付失败",
+              title: "支付失败",
             });
           }
         });
@@ -439,7 +439,7 @@ export default {
         fail: (err) => {
           uni.showToast({
             icon: "none",
-            name: "支付失败",
+            title: "支付失败",
           });
         },
       });