mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
update
This commit is contained in:
parent
19cdb80c1e
commit
6220a73641
@ -12,7 +12,7 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
<template>
|
|
||||||
<iframe
|
|
||||||
class="iframe-wrapper"
|
|
||||||
frameborder="0"
|
|
||||||
allowfullscreen="true"
|
|
||||||
:src="src"
|
|
||||||
:width="width"
|
|
||||||
:height="height"
|
|
||||||
></iframe>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script lang="ts">
|
|
||||||
export default {
|
|
||||||
name: 'iframe-wrapper',
|
|
||||||
props: {
|
|
||||||
src: {
|
|
||||||
type: String,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
width: {
|
|
||||||
type: Number,
|
|
||||||
},
|
|
||||||
height: {
|
|
||||||
type: Number,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.iframe-wrapper {
|
|
||||||
transform-origin: 0 0;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
</style>
|
|
Loading…
x
Reference in New Issue
Block a user