MrShi
2 天以前 b0712811a0421dd3d4bc6ea03c54b7b39096439e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<template>
    <web-view :src="src"></web-view>
</template>
 
<script>
    export default {
        data() {
            return {
                src: ''
            };
        },
        onLoad(option) {
            this.src= option.url
        }
    }
</script>
 
<style lang="scss">
    web-view {
        width: 100vw;
        height: 100vh;
    }
</style>