mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-14 23:22:40 +00:00
图片同步
未解决: 从本地获取
This commit is contained in:
4
node_modules/evt.js
generated
vendored
4
node_modules/evt.js
generated
vendored
@@ -6,6 +6,10 @@ var Evt = {
|
||||
// 项目绝对地址
|
||||
getBasePath: function() {
|
||||
return process.cwd();
|
||||
},
|
||||
getAbsolutePath: function(relative) {
|
||||
var me = this;
|
||||
return me.getBasePath() + '/' + relative;
|
||||
}
|
||||
};
|
||||
module.exports = Evt;
|
||||
|
Reference in New Issue
Block a user