diff --git a/apps/celeris/src/views/components/pdf/index.vue b/apps/celeris/src/views/components/pdf/index.vue index d1bc0c3..bdbe541 100644 --- a/apps/celeris/src/views/components/pdf/index.vue +++ b/apps/celeris/src/views/components/pdf/index.vue @@ -2,12 +2,10 @@ - - - +
- +
@@ -16,13 +14,10 @@ import Edit from './src/edit.vue'; import Preview from './src/preview.vue'; -const preview = ref({ preview: () => {} }); -const docDefinition = ref({}); - +const previewPdf = ref({ preview: () => {} }); const onPreview = (value: any) => { - docDefinition.value = value; console.log('value log==>',value); - preview.value.preview(); + previewPdf.value.preview(value); }; diff --git a/apps/celeris/src/views/components/pdf/src/edit.vue b/apps/celeris/src/views/components/pdf/src/edit.vue index 935836f..9a74d2b 100644 --- a/apps/celeris/src/views/components/pdf/src/edit.vue +++ b/apps/celeris/src/views/components/pdf/src/edit.vue @@ -1,11 +1,18 @@