| 123456789101112131415161718192021222324252627 |
- <template>
- <web-view :src="src" v-if="src"></web-view>
- </template>
- <script>
- export default {
- data(){
- return {
- src:''
- }
- },
- onLoad(options) {
- try {
- this.src = decodeURIComponent(options.src || '');
- } catch (error) {
- this.src = options.src || '';
- }
- },
- methods:{
-
- }
- }
- </script>
- <style scoped lang="less">
-
- </style>
|