fengchang 1 vuosi sitten
vanhempi
commit
df7452fb2e
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      hichina-main-front-mobile-first/src/pages/AlipayPage.vue

+ 3 - 2
hichina-main-front-mobile-first/src/pages/AlipayPage.vue

@@ -33,8 +33,9 @@ export default {
       orderId.value = allParamsFromPreviousPage.orderId;
       price.value = allParamsFromPreviousPage.price;
 
-      var div = document.createElement("div");
-      div.appendChild(htmlContent.value);
+      document.addEventListener("DOMContentLoaded", function () {
+        document.write(htmlContent.value);
+      });
     });
   },
 };