fengchang 1 năm trước cách đây
mục cha
commit
df7452fb2e
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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);
+      });
     });
   },
 };