ewebview.vue 398 B

12345678910111213141516171819
  1. <template>
  2. <web-view
  3. :style="{ width: '100%', height: '100%' }"
  4. :src="finalUrl"
  5. />
  6. </template>
  7. <script setup lang="ts">
  8. import { useLoadQuerys } from '@/components/composeabe/LoadQuerys';
  9. import { ref } from 'vue';
  10. const finalUrl = ref('')
  11. useLoadQuerys({
  12. url: '',
  13. }, ({ url }) => {
  14. finalUrl.value = decodeURIComponent(url)
  15. console.log('web-view', finalUrl.value)
  16. });
  17. </script>