优化结构

This commit is contained in:
Yvan
2026-08-28 16:56:10 +08:00
parent 6f9908d926
commit b370089942
11 changed files with 65 additions and 49 deletions
-3
View File
@@ -17,7 +17,6 @@
import VueOfficePdf from '@vue-office/pdf'
//引入相关样式
import '@vue-office/docx/lib/index.css'
console.log('pdf===>')
const props = defineProps({
modelValue: {
type: String,
@@ -31,9 +30,7 @@
{ immediate: true }
)
const renderedHandler = () => {
console.log('pdf 加载成功')
}
const errorHandler = () => {
console.log('pdf 错误')
}
</script>