refactor ts

This commit is contained in:
LiuHao
2023-04-02 01:01:56 +08:00
parent 5c87f1cb2c
commit 251d2411f2
264 changed files with 15432 additions and 13015 deletions

View File

@ -1,15 +1,4 @@
<template>
<div :style="'height:' + height">
<iframe
:id="iframeId"
style="width: 100%; height: 100%"
:src="src"
frameborder="no"
></iframe>
</div>
</template>
<script setup>
<script setup lang="ts">
const props = defineProps({
src: {
type: String,
@ -19,6 +8,11 @@ const props = defineProps({
type: String
}
});
const height = ref(document.documentElement.clientHeight - 94.5 + "px");
</script>
<template>
<div :style="'height:' + height">
<iframe :id="iframeId" style="width: 100%; height: 100%" :src="src" frameborder="no"></iframe>
</div>
</template>