mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 15:41:19 +00:00
sync, 当前笔记冲突问题
sync当前笔记时, 1) 把服务器上的content->本地 2) changeNote此时会触发saveContent, 此时拿之前的content与新的content对比, 所以导致isDirty
This commit is contained in:
5
node_modules/evt.js
generated
vendored
5
node_modules/evt.js
generated
vendored
@@ -16,8 +16,9 @@ if(!fs.existsSync(dataBasePath)) {
|
||||
// dataBasePath = '';
|
||||
|
||||
var Evt = {
|
||||
leanoteUrl: 'http://leanote.com',
|
||||
// leanoteUrl: 'http://127.0.0.1:9000',
|
||||
// leanoteUrl: 'http://leanote.com',
|
||||
leanoteUrl: 'http://localhost:9000',
|
||||
|
||||
port: 8008,
|
||||
localUrl: 'http://127.0.0.1:8008',
|
||||
dataBasePath: '',
|
||||
|
Reference in New Issue
Block a user