From 55d6894fd6525c5b8bacd0e68e452ccd91b979d5 Mon Sep 17 00:00:00 2001 From: zhiwei liu <44311483+baicie@users.noreply.github.com> Date: Tue, 9 Jan 2024 22:25:43 +0800 Subject: [PATCH] fix: epub parse & add useproce (#13) --- .../client/modules/common-reader/main.vue | 5 +- .../modules/common-reader/use-reader.ts | 2 + packages/epub/src/index.ts | 48 ++--- packages/extension/src/book-parse/epub.ts | 22 +-- packages/extension/src/message.ts | 61 +++--- packages/extension/src/receive-message.ts | 175 +++++++++++++----- packages/extension/src/utils/read-file.ts | 5 +- 7 files changed, 194 insertions(+), 124 deletions(-) diff --git a/packages/client/modules/common-reader/main.vue b/packages/client/modules/common-reader/main.vue index 4edc0c8..2220f25 100644 --- a/packages/client/modules/common-reader/main.vue +++ b/packages/client/modules/common-reader/main.vue @@ -1,9 +1,8 @@