28 lines
331 B
Vue
28 lines
331 B
Vue
<template>
|
|
<view>
|
|
<web-view :src="url"></web-view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
mapState,
|
|
} from 'vuex';
|
|
export default {
|
|
data() {
|
|
return {
|
|
url: ''
|
|
}
|
|
},
|
|
async onLoad(options) {
|
|
let {
|
|
url
|
|
} = options;
|
|
this.url = decodeURIComponent(url);
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
</style>
|