mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-18 09:24:55 +00:00
file main get image
This commit is contained in:
4
node_modules/db_main.js
generated
vendored
4
node_modules/db_main.js
generated
vendored
@@ -5,7 +5,7 @@ var Evt = require('evt_main');
|
||||
var db = {};
|
||||
|
||||
// dbPath是用户的dbPath
|
||||
db.init = function (curUser, dbPath) {
|
||||
db.init = function (curUser, dbPath, dataBasePath) {
|
||||
var me = this;
|
||||
var dbNames = [
|
||||
'images',
|
||||
@@ -29,7 +29,7 @@ db.init = function (curUser, dbPath) {
|
||||
db._inited = true;
|
||||
|
||||
// 保存起来
|
||||
Evt.init(curUser, dbPath);
|
||||
Evt.init(curUser, dbPath, dataBasePath);
|
||||
|
||||
console.log('db inited [main]');
|
||||
};
|
||||
|
Reference in New Issue
Block a user