Compare commits

...

1 Commits
0.3.2 ... 0.3.3

Author SHA1 Message Date
chris
c701acbfaa Added ignore 2022-05-24 14:40:36 +08:00
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -95,6 +95,7 @@ export default class MyPlugin extends Plugin {
const nowFile = app.workspace.getActiveFile();
if (nowFile) {
const filePath: string = nowFile.path;
// @ts-ignore
const basePath: string = nowFile.vault.adapter.basePath;
const fullPath = join(basePath, filePath);
console.log("fullpath", fullPath);