clean log

This commit is contained in:
paola.trabucco
2024-08-08 14:59:17 +02:00
parent d8384aa616
commit b1c90a61da
3 changed files with 0 additions and 14 deletions

View File

@@ -127,10 +127,8 @@ const debug_modal = ref(false)
onMounted(() => {
loading.value = true
const id = route.params.id;
console.log(id)
axios.get('http://localhost:8081/scenarios/' + id )
.then(response => {
console.log(response);
loading.value = false
scenario.value = response.data
});
@@ -158,13 +156,10 @@ onMounted(() => {
inputs: { ...formData.value }
};
console.log(data);
axios.post('http://localhost:8081/scenarios/execute', data)
.then(response => {
loading_data.value = false;
data_loaded.value = true;
console.log(response);
scenario_output.value = response.data.stringOutput;
exec_id.value = response.data.scenarioExecution_id
@@ -179,11 +174,8 @@ onMounted(() => {
}
const openDebug = () => {
console.log("exec_id", exec_id.value)
axios.get('http://localhost:8081/scenarios/execute/'+ exec_id.value).then(resp =>{
exec_scenario.value = resp.data
console.log(exec_scenario.value)
debug_modal.value = true
})
}