index.vue
586 Bytes
<template>
<el-dialog title="" :visible.sync="visible" width="1000px" height="600px" :before-close="handleClose">
<iframe src="https://img02.glsx.com.cn/doc/privacy.html" frameborder="0" width="1000px" height="600px"></iframe>
<span slot="footer" class="dialog-footer"></span>
</el-dialog>
</template>
<script>
export default {
name: 'GLDialogURL',
props: {
visible: {
type: Boolean,
default: false
}
},
data() {
return {}
},
methods: {
handleClose() {
this.$emit('update:visible', false)
}
}
}
</script>
<style></style>