apilypay.vue 389 B

123456789101112131415161718192021222324
  1. <template>
  2. <view class="main-page pages">
  3. </view>
  4. </template>
  5. <script>
  6. export default {
  7. data() {
  8. return {
  9. }
  10. },
  11. created() {
  12. //将接口返回的Form表单显示到页面
  13. document.querySelector('body').innerHTML = uni.getStorageSync('form');;
  14. //调用submit 方法
  15. document.forms[0].submit()
  16. },
  17. methods: {
  18. }
  19. }
  20. </script>
  21. <style scoped lang="scss">
  22. </style>