Commit 9524069b authored by rockyl's avatar rockyl

修改默认值

parent 4f2a5c38
...@@ -99,7 +99,7 @@ async function execute(psdFile, options) { ...@@ -99,7 +99,7 @@ async function execute(psdFile, options) {
if (name.includes('|')) { if (name.includes('|')) {
let arr = name.split('|'); let arr = name.split('|');
name = arr[0]; name = arr[0];
let paramsStr = arr[0]; let paramsStr = arr[1];
let params = paramsStr.split(';'); let params = paramsStr.split(';');
let relativePos = params[0]; let relativePos = params[0];
if (relativePos) { if (relativePos) {
......
This diff is collapsed.
...@@ -105,7 +105,7 @@ async function execute(psdFile, options) { ...@@ -105,7 +105,7 @@ async function execute(psdFile, options) {
if (name.includes('|')) { if (name.includes('|')) {
let arr = name.split('|'); let arr = name.split('|');
name = arr[0]; name = arr[0];
let paramsStr = arr[0]; let paramsStr = arr[1];
let params = paramsStr.split(';'); let params = paramsStr.split(';');
let relativePos = params[0]; let relativePos = params[0];
if (relativePos) { if (relativePos) {
......
This diff is collapsed.
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
if (name.includes('|')) { if (name.includes('|')) {
let arr = name.split('|'); let arr = name.split('|');
name = arr[0]; name = arr[0];
let paramsStr = arr[0]; let paramsStr = arr[1];
let params = paramsStr.split(';'); let params = paramsStr.split(';');
let relativePos = params[0]; let relativePos = params[0];
if (relativePos) { if (relativePos) {
......
This diff is collapsed.
...@@ -46,7 +46,7 @@ export async function execute(psdFile, options) { ...@@ -46,7 +46,7 @@ export async function execute(psdFile, options) {
if (name.includes('|')) { if (name.includes('|')) {
let arr = name.split('|'); let arr = name.split('|');
name = arr[0]; name = arr[0];
let paramsStr = arr[0]; let paramsStr = arr[1];
let params = paramsStr.split(';'); let params = paramsStr.split(';');
let relativePos = params[0]; let relativePos = params[0];
if (relativePos) { if (relativePos) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment