플랫 전분 기본 처리 반영

This commit is contained in:
현성필
2024-05-07 13:43:48 +09:00
parent a2aecb03e7
commit ac88b6388e
17 changed files with 1415 additions and 300 deletions
+3
View File
@@ -92,6 +92,7 @@ class APIScenario {
openScenario(event) {
event.preventDefault();
let scenarioId = $(event.target).closest('li').data('id');
this.stopScenario();
this.openScenarioById(scenarioId);
}
@@ -308,6 +309,7 @@ class APIScenario {
stopScenario() {
if (this.executor) {
this.executor.reset();
this.executor = null;
}
this.outputEditor.setValue('');
}
@@ -353,6 +355,7 @@ class APIScenario {
const y = ui.offset.top - $(this).offset().top;
const dataset = ui.draggable[0].dataset;
console.log(dataset);
var node = `<div><div class="title-box">API</div><div class="box">${dataset.name}</div></div>`;
me.editor.addNode(dataset.name, 1, 1, x, y, dataset.nodeType, dataset, node);