修复起草合同的销毁保存下载和删除的逻辑

This commit is contained in:
2025-12-05 21:38:44 +08:00
parent 91b7518c99
commit 5f9ce2fe9f
6 changed files with 195 additions and 52 deletions
+2 -2
View File
@@ -170,7 +170,7 @@ export class WopiService {
// 功能配置
DisableInactiveMessages: true,
DisableAutoSave: true,
DisableAutoSave: false,
// 文件最后修改时间
LastModifiedTime: lastModified || new Date().toISOString(),
@@ -260,7 +260,7 @@ export class WopiService {
throw new Error(`保存文件失败: ${sanitizedFileId}`);
}
// console.log(`PutFile 成功: ${sanitizedFileId}, Size: ${fileBuffer.byteLength} bytes`);
console.log(`PutFile 成功: ${sanitizedFileId}, Size: ${fileBuffer.byteLength} bytes`);
} catch (error) {
console.error('PutFile 失败:', error);
throw error;