clean log
This commit is contained in:
@@ -88,7 +88,6 @@ import { ScenarioService } from '../../service/ScenarioService.js';
|
||||
ScenarioService.getScenarios().then(resp=>{
|
||||
data.scenarios = resp.data
|
||||
loading.value = false
|
||||
console.log(data.scenarios)
|
||||
})
|
||||
|
||||
});
|
||||
@@ -99,10 +98,8 @@ import { ScenarioService } from '../../service/ScenarioService.js';
|
||||
})
|
||||
|
||||
const filter = computed(() => {
|
||||
console.log("check");
|
||||
|
||||
if (data.search) {
|
||||
console.log("check1b");
|
||||
|
||||
return data.scenarios.filter((item) => {
|
||||
return data.search
|
||||
@@ -111,13 +108,11 @@ import { ScenarioService } from '../../service/ScenarioService.js';
|
||||
.every((v) => item.name.toLowerCase().includes(v));
|
||||
});
|
||||
} else {
|
||||
console.log("check2b");
|
||||
return data.scenarios;
|
||||
}
|
||||
});
|
||||
|
||||
const executeScenario = (id) => {
|
||||
console.log(id);
|
||||
router.push({ name: 'scenario-exec', params: { id: id } });
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user