Skip to content

Commit 76e6f25

Browse files
save file
1 parent 2755302 commit 76e6f25

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,9 @@
7676
console.log(window.electronAPI);
7777

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

8584

0 commit comments

Comments
 (0)