Skip to content

Commit

Permalink
fix: 修复xmind文件路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
super456 committed Apr 26, 2024
1 parent 3183571 commit eb2764c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generateResources.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function getXmindList(directory = '') {
const time = res.stdout.split('\n')
return {
name: name.replace('.xmind', ''),
path: `/${encodeURI(path)}`,
path: `./${encodeURI(path)}`,
updateTime: time.at(0),
createdTime: time.at(-1)
}
Expand Down

0 comments on commit eb2764c

Please sign in to comment.