<template>
    <web-view  :src="url"></web-view>
    <!-- <web-view v-if="flag" :src="url"></web-view> -->
	<!-- <iframe v-else :src="url" width="340" height="360" allowfullscreen allow="autoplay; fullscreen; microphone;"></iframe> -->
</template>

<script>
	export default {
        data() {
            return {
                url:"https://datav.aliyuncs.com/share/235518097ffd673bc1eb05011b9a02b6",
				flag:true
            }
        },
        onLoad: function(option) {
			if(option.url){
				this.url = option.url;
				uni.setNavigationBarTitle({
					title:"库点监控"
				})
				this.flag = false
			}
        },
        methods: {
        }
    }
</script>
    


<style>

</style>