Commit ca323596 authored by 劳工's avatar 劳工

Merge branch 'dev' into 'master'

修复没有序列化custom的问题

See merge request !4
parents d38c4004 dba9196f
......@@ -75,7 +75,7 @@ async function packData(data, {getProcesses, getScripts, getCustoms}) {
newData.customs = [];
if (data.customs && data.customs.length > 0) {
newData.customs = await getCustoms(data.customs).map(item => {
newData.customs = (await getCustoms(data.customs)).map(item => {
return JSON.parse(item);
});
}
......
This diff is collapsed.
......@@ -79,7 +79,7 @@ async function packData(data, {getProcesses, getScripts, getCustoms}) {
newData.customs = [];
if (data.customs && data.customs.length > 0) {
newData.customs = await getCustoms(data.customs).map(item => {
newData.customs = (await getCustoms(data.customs)).map(item => {
return JSON.parse(item);
});
}
......
This diff is collapsed.
......@@ -81,7 +81,7 @@
newData.customs = [];
if (data.customs && data.customs.length > 0) {
newData.customs = await getCustoms(data.customs).map(item => {
newData.customs = (await getCustoms(data.customs)).map(item => {
return JSON.parse(item);
});
}
......
This diff is collapsed.
......@@ -75,7 +75,7 @@ async function packData(data, {getProcesses, getScripts, getCustoms}) {
newData.customs = [];
if (data.customs && data.customs.length > 0) {
newData.customs = await getCustoms(data.customs).map(item => {
newData.customs = (await getCustoms(data.customs)).map(item => {
return JSON.parse(item);
})
}
......
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