Files
shoot-miniprograms/src/pages/webview.vue

16 lines
274 B
Vue
Raw Normal View History

2025-09-03 16:37:49 +08:00
<script setup>
import { ref } from "vue";
import { onLoad } from "@dcloudio/uni-app";
const url = ref("");
onLoad((options) => {
url.value = decodeURIComponent(options.url);
});
</script>
<template>
<web-view :src="url"></web-view>
</template>
<style scoped></style>