index.vue 335 B

12345678910111213141516171819202122232425
  1. <template>
  2. <web-view :src="url"></web-view>
  3. </template>
  4. <script>
  5. export default {
  6. data() {
  7. return {
  8. url: ''
  9. }
  10. },
  11. onLoad({ src }) {
  12. this.url = decodeURIComponent(src)
  13. console.log('web-view', src, this.url)
  14. },
  15. methods: {
  16. }
  17. }
  18. </script>
  19. <style lang="scss" scoped>
  20. </style>