Skip to content

Commit

Permalink
修复 页面路径拼接
Browse files Browse the repository at this point in the history
  • Loading branch information
oneo-me committed Feb 5, 2024
1 parent d4f0749 commit 83b237a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "smile-sketch",
"description": "更加快捷的使用 Sketch 的一些功能",
"version": "3.0.0",
"version": "3.0.1",
"engines": {
"sketch": ">=99.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/pathParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PathParser {

var result = "";
if (pagePath.startsWith("~") || pagePath.startsWith("/")) {
result = pagePath;
result = pagePath + "/" + layerPath;
} else if (pagePath !== "") {
result = documentPath + "/" + pagePath + "/" + layerPath;
} else {
Expand Down

0 comments on commit 83b237a

Please sign in to comment.