Skip to content

Commit 969a07b

Browse files
save file
1 parent 3c967d4 commit 969a07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/editors/editor/v2.0/editor-v2.0.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
console.log(window.electronAPI);
7777

7878
window.electronAPI?.onOpenFile(async({path})=>{
79-
console.log('openfile',filePath);
79+
console.log('openfile',path);
8080
var txt = await window.electronAPI.readFile({path});
8181
console.log('txt',txt);
8282
});

0 commit comments

Comments
 (0)