feat(desktop): 收口桌面工作台视觉与活动反馈
This commit is contained in:
@@ -519,7 +519,14 @@ const openSecurityLogDialog = () => {
|
||||
|
||||
const downloadLogFile = async (fileName: string, lines: string[]) => {
|
||||
const blob = new Blob([`${lines.join("\n")}\n`], { type: "text/plain;charset=utf-8" });
|
||||
await saveFileWithFeedback({ suggestedName: fileName, mimeType: "text/plain;charset=utf-8", data: blob });
|
||||
await saveFileWithFeedback(
|
||||
{ suggestedName: fileName, mimeType: "text/plain;charset=utf-8", data: blob },
|
||||
{
|
||||
kind: "export",
|
||||
title: "导出日志",
|
||||
completedDetail: "日志文件已保存",
|
||||
},
|
||||
);
|
||||
};
|
||||
|
||||
const downloadInterfaceLog = () => {
|
||||
|
||||
Reference in New Issue
Block a user