mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 00:01:19 +08:00
remove debug codes
This commit is contained in:
parent
dc79014147
commit
30de74e866
@ -43,7 +43,6 @@ const handleResponseForSave = (e, { id, markdown, pathname, options }) => {
|
||||
|
||||
return writeMarkdownFile(pathname, markdown, options, win)
|
||||
.then(() => {
|
||||
console.log(pathname)
|
||||
const filename = path.basename(pathname)
|
||||
win.webContents.send('AGANI::set-pathname', { id, pathname, filename })
|
||||
})
|
||||
|
@ -71,7 +71,6 @@ const addDir = (win, pathname) => {
|
||||
}
|
||||
|
||||
const unlinkDir = (win, pathname) => {
|
||||
console.log(pathname)
|
||||
const directory = { pathname }
|
||||
win.webContents.send('AGANI::update-object-tree', {
|
||||
type: 'unlinkDir',
|
||||
|
@ -99,7 +99,6 @@
|
||||
}
|
||||
|
||||
const mouseDownHandler = event => {
|
||||
console.log(startX)
|
||||
startX = event.clientX
|
||||
startWidth = +this.sideBarWidth
|
||||
document.addEventListener('mousemove', mouseMoveHandler, false)
|
||||
|
@ -104,7 +104,6 @@ const actions = {
|
||||
commit('SET_SAVE_STATUS_WHEN_REMOVE', change)
|
||||
break
|
||||
case 'change':
|
||||
console.log(change)
|
||||
commit('CHANGE_FILE', change)
|
||||
break
|
||||
case 'addDir':
|
||||
|
Loading…
Reference in New Issue
Block a user