fengchang hace 1 año
padre
commit
df7452fb2e
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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);
+      });
     });
   },
 };