glhcp/uniapp/pages/webview/webview.vue

23 lines
305 B
Vue

<template>
<view class="page-body">
<web-view :src="url"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
url: ''
};
},
onLoad: function(options) {
this.url = this.$Route.query.url
},
methods: {}
};
</script>
<style>
</style>