From 683087d15e425455353c05734c1b0a25c92cbe16 Mon Sep 17 00:00:00 2001 From: lq1405 <2769838458@qq.com> Date: Mon, 11 Aug 2025 14:29:58 +0800 Subject: [PATCH] =?UTF-8?q?v=203.4.2.1=20=E4=BF=AE=E5=A4=8D=20=E4=B8=80?= =?UTF-8?q?=E6=8B=86=E5=9B=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/scripts/db/book.realm.lock | Bin 1416 -> 1416 bytes resources/scripts/db/software.realm.lock | Bin 1416 -> 1416 bytes src/main/Service/Book/bookTask.ts | 5 +++-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/scripts/db/book.realm.lock b/resources/scripts/db/book.realm.lock index f551e0ba1aa5e1b7b0928adff9b7600236630be3..2ed80a6f5ca53f815c75a61e6418fc3aa84009b8 100644 GIT binary patch literal 1416 zcmZQ%a%7cOOLE Wk1`Le>P7`eLtr!nMnhnzga81P$_F0+ literal 1416 zcmZQ%)4K$;AM gMk5jKgQ#mz^#rScnS-W$lsg&%qaiRF0)svT07N_nYybcN diff --git a/resources/scripts/db/software.realm.lock b/resources/scripts/db/software.realm.lock index ec442dcd39b20bab134f563b6555c7bfe19ac6c3..6ee69a1bb90eb4120ccdf38c36204e9eef3d3e80 100644 GIT binary patch literal 1416 zcmZQ%f=q>&jHy%sO$cExL`Oq7#AcA2kbwo< YeGqjCvyo*-*`pya8UmvsF!VwI0E0mTPyhe` diff --git a/src/main/Service/Book/bookTask.ts b/src/main/Service/Book/bookTask.ts index 4d137f9..3c790ad 100644 --- a/src/main/Service/Book/bookTask.ts +++ b/src/main/Service/Book/bookTask.ts @@ -138,7 +138,7 @@ export class BookTask { } } - if(!isEmpty(bookTask.videoCategory)){ + if (!isEmpty(bookTask.videoCategory)) { videoCategory = bookTask.videoCategory; } @@ -163,7 +163,7 @@ export class BookTask { prefixPrompt: addNewBookTask.prefixPrompt ??= undefined, suffixPrompt: addNewBookTask.suffixPrompt ?? undefined, imageCategory: imageCategory, - videoCategory : videoCategory, + videoCategory: videoCategory, subImageFolder: [], draftSrtStyle: undefined, backgroundMusic: bookTask.backgroundMusic ??= undefined, @@ -417,6 +417,7 @@ export class BookTask { suffixPrompt: sourceBookTask.suffixPrompt, version: sourceBookTask.version, imageCategory: sourceBookTask.imageCategory, + videoCategory: sourceBookTask.videoCategory ?? ImageToVideoModels.MJ_VIDEO, openVideoGenerate: sourceBookTask.openVideoGenerate == null ? false : sourceBookTask.openVideoGenerate, } as Book.SelectBookTask