You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
332 B
Vue
19 lines
332 B
Vue
5 months ago
|
<!-- 网页加载 -->
|
||
|
<template>
|
||
|
<view>
|
||
|
<web-view :src="url" />
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script setup>
|
||
|
import { onLoad } from '@dcloudio/uni-app';
|
||
|
import { ref } from 'vue';
|
||
|
|
||
|
const url = ref('');
|
||
|
onLoad((options) => {
|
||
|
url.value = decodeURIComponent(options.url);
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped></style>
|