Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psd-parse-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
psd-parse-web
Commits
b9967f4b
Commit
b9967f4b
authored
Jun 20, 2021
by
张九刚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除测试代码
parent
d04a40ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
package.json
package.json
+1
-1
compilelocal.js
src/compilelocal.js
+1
-1
No files found.
package.json
View file @
b9967f4b
{
{
"name"
:
"psd-parse-web"
,
"name"
:
"psd-parse-web"
,
"version"
:
"2.1.
1
"
,
"version"
:
"2.1.
2
"
,
"main"
:
"src/index.js"
,
"main"
:
"src/index.js"
,
"module"
:
"dist/index.es.js"
,
"module"
:
"dist/index.es.js"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/compilelocal.js
View file @
b9967f4b
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
const
{
x
,
y
,
width
,
height
}
=
page
;
const
{
x
,
y
,
width
,
height
}
=
page
;
console
.
log
(
"当前选择的mode::"
,
mode
);
console
.
log
(
"当前选择的mode::"
,
mode
);
//如果没有选择适配的情况下,不设置页面的属性,方便给予节点相对布局
//如果没有选择适配的情况下,不设置页面的属性,方便给予节点相对布局
let
styleObj
=
mode
==
'none'
?
{}
:
{
width
,
height
,
color
:
'green'
,
...
getPageStyle
(
mode
,
x
,
y
)
};
let
styleObj
=
mode
==
'none'
?
{}
:
{
width
,
height
,
...
getPageStyle
(
mode
,
x
,
y
)
};
let
viewNode
=
{
let
viewNode
=
{
name
:
folderName
,
name
:
folderName
,
nodeType
:
'Div'
,
nodeType
:
'Div'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment