1. 修复SD出图子图需要重新刷新显示问题
2. 修复文件有特殊字符选图不能拖拽问题
This commit is contained in:
lq1405 2025-03-22 13:47:47 +08:00
parent 6336b36ead
commit 927dd14574
5 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "laitool", "name": "laitool",
"version": "3.3.1", "version": "3.3.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "laitool", "name": "laitool",
"version": "3.3.1", "version": "3.3.2",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@alicloud/alimt20181012": "^1.2.0", "@alicloud/alimt20181012": "^1.2.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "laitool", "name": "laitool",
"version": "3.3.1", "version": "3.3.2",
"description": "An AI tool for image processing, video processing, and other functions.", "description": "An AI tool for image processing, video processing, and other functions.",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "laitool.cn", "author": "laitool.cn",

Binary file not shown.

View File

@ -349,8 +349,8 @@ export class SDOpt {
messageId: subImagePath.join(','), messageId: subImagePath.join(','),
action: MJAction.IMAGINE, action: MJAction.IMAGINE,
status: "success", status: "success",
subImagePath: subImagePath + "?t=" + new Date().getTime(), outImagePath: outImagePath + "?t=" + new Date().getTime(),
outImagePath: subImagePath.map((item) => item + "?t=" + new Date().getTime()), subImagePath: subImagePath.map((item) => item + "?t=" + new Date().getTime()),
message: "SD生成图片成功" message: "SD生成图片成功"
} }
await this.bookServiceBasic.UpdateBookTaskDetailMjMessage(task.bookTaskDetailId, resp) await this.bookServiceBasic.UpdateBookTaskDetailMjMessage(task.bookTaskDetailId, resp)