|
@@ -2,7 +2,7 @@ import { getBlockConnection } from '../helper';
|
|
|
import { parseJSON } from '@/utils/helper';
|
|
|
import mustacheReplacer from '@/utils/reference-data/mustache-replacer';
|
|
|
|
|
|
-function delay({ outputs, data }, { refData }) {
|
|
|
+function insertData({ outputs, data }, { refData }) {
|
|
|
return new Promise((resolve) => {
|
|
|
data.dataList.forEach(({ name, value, type }) => {
|
|
|
const replacedValue = mustacheReplacer(value, refData);
|
|
@@ -21,4 +21,4 @@ function delay({ outputs, data }, { refData }) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-export default delay;
|
|
|
+export default insertData;
|