|
@@ -348,16 +348,16 @@ const handleSubmit = async (_type) => {
|
|
|
flowId: route.query.id,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
+ if (_type && _type == 1) {
|
|
|
+ proxy
|
|
|
+ .post("/flowExample/setStartData", {
|
|
|
+ exampleId: route.query.id,
|
|
|
+ startData: data,
|
|
|
+ })
|
|
|
+ .then();
|
|
|
+ }
|
|
|
handleResult(res);
|
|
|
});
|
|
|
- if (_type && _type == 1) {
|
|
|
- proxy
|
|
|
- .post("/flowExample/setStartData", {
|
|
|
- exampleId: route.query.id,
|
|
|
- startData: data,
|
|
|
- })
|
|
|
- .then();
|
|
|
- }
|
|
|
return;
|
|
|
} else {
|
|
|
proxy
|