提交 10eba904 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 7714f3fd
...@@ -16,6 +16,6 @@ const officeUrl = $computed(() => { ...@@ -16,6 +16,6 @@ const officeUrl = $computed(() => {
</script> </script>
<template> <template>
<iframe allowfullscreen :src="officeUrl" frameborder="0" style="width: 100%; height: 100%" v-if="officeUrl"></iframe> <iframe allowfullscreen :src="officeUrl" :key="officeUrl" frameborder="0" style="width: 100%; height: 100%" v-if="officeUrl"></iframe>
<object :data="url" style="width: 100%; height: 100%; object-fit: none" v-else></object> <object :data="url" style="width: 100%; height: 100%; object-fit: none" v-else></object>
</template> </template>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论