Update 2 files
- /src/service/ScenarioService.js - /src/views/pages/ScenarioExec.vue
This commit is contained in:
@@ -128,7 +128,7 @@ onMounted(() => {
|
||||
loading.value = true
|
||||
const id = route.params.id;
|
||||
console.log(id)
|
||||
axios.get('http://localhost:8081/scenarios/' + id )
|
||||
axios.get('/scenarios/' + id )
|
||||
.then(response => {
|
||||
console.log(response);
|
||||
loading.value = false
|
||||
@@ -160,7 +160,7 @@ onMounted(() => {
|
||||
|
||||
console.log(data);
|
||||
|
||||
axios.post('http://localhost:8081/scenarios/execute', data)
|
||||
axios.post('/scenarios/execute', data)
|
||||
.then(response => {
|
||||
loading_data.value = false;
|
||||
data_loaded.value = true;
|
||||
@@ -180,7 +180,7 @@ onMounted(() => {
|
||||
|
||||
const openDebug = () => {
|
||||
console.log("exec_id", exec_id.value)
|
||||
axios.get('http://localhost:8081/scenarios/execute/'+ exec_id.value).then(resp =>{
|
||||
axios.get('/scenarios/execute/'+ exec_id.value).then(resp =>{
|
||||
exec_scenario.value = resp.data
|
||||
console.log(exec_scenario.value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user