mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 20:32:46 +08:00
修复导出json和markdown时中文及其他utf8字符乱码问题
This commit is contained in:
1
app/global.d.ts
vendored
1
app/global.d.ts
vendored
@@ -19,6 +19,7 @@ declare interface Window {
|
||||
};
|
||||
fs: {
|
||||
writeBinaryFile(path: string, data: Uint8Array): Promise<void>;
|
||||
writeTextFile(path: string, data: string): Promise<void>;
|
||||
};
|
||||
notification:{
|
||||
requestPermission(): Promise<Permission>;
|
||||
|
Reference in New Issue
Block a user