[CLEANUP] Change misspelled variable
This commit is contained in:
parent
d751edade8
commit
ad07748aa5
@ -23,7 +23,7 @@
|
|||||||
<td>PING</td>
|
<td>PING</td>
|
||||||
<td>AS</td>
|
<td>AS</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-for="tData in tabeleData">
|
<tr v-for="tData in tableData">
|
||||||
<td>{{ tData[0] }}</td>
|
<td>{{ tData[0] }}</td>
|
||||||
<td>{{ tData[1] }}</td>
|
<td>{{ tData[1] }}</td>
|
||||||
<td>{{ tData[2] }}</td>
|
<td>{{ tData[2] }}</td>
|
||||||
@ -69,9 +69,9 @@ export default {
|
|||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
tabeleData : {
|
tableData : {
|
||||||
handler() {
|
handler() {
|
||||||
sessionStorage.setItem('tabeleData' + this.boxNumber, JSON.stringify(this.tabeleData));
|
sessionStorage.setItem('tableData' + this.boxNumber, JSON.stringify(this.tableData));
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
}
|
}
|
||||||
@ -102,9 +102,9 @@ export default {
|
|||||||
axios.get("http://"+ this.selectedIp[0] + ":" +this.selectedIp[1] + "/v3/client/request/" + this.target)
|
axios.get("http://"+ this.selectedIp[0] + ":" +this.selectedIp[1] + "/v3/client/request/" + this.target)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
// JSON responses are automatically parsed.
|
// JSON responses are automatically parsed.
|
||||||
this.tabeleData = response.data;
|
this.tableData = response.data;
|
||||||
this.setLastExecutionTime();
|
this.setLastExecutionTime();
|
||||||
this.tableDataHistory.push(this.tabeleData);
|
this.tableDataHistory.push(this.tableData);
|
||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.executionTime = 'Check request'
|
this.executionTime = 'Check request'
|
||||||
@ -115,7 +115,7 @@ export default {
|
|||||||
this.executionTime = 'Not execute yet',
|
this.executionTime = 'Not execute yet',
|
||||||
this.selectedIp = ["199.247.22.146",12111,20473,1],
|
this.selectedIp = ["199.247.22.146",12111,20473,1],
|
||||||
this.target = '8.8.8.8',
|
this.target = '8.8.8.8',
|
||||||
this.tabeleData = [ ],
|
this.tableData = [ ],
|
||||||
this.tableDataHistory = [ ]
|
this.tableDataHistory = [ ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -129,14 +129,14 @@ export default {
|
|||||||
|
|
||||||
if (sessionStorage.getItem('tableDataHistory'+ this.boxNumber)) this.tableDataHistory = JSON.parse(sessionStorage.getItem('tableDataHistory'+ this.boxNumber));
|
if (sessionStorage.getItem('tableDataHistory'+ this.boxNumber)) this.tableDataHistory = JSON.parse(sessionStorage.getItem('tableDataHistory'+ this.boxNumber));
|
||||||
if (sessionStorage.getItem('target'+ this.boxNumber)) this.target = JSON.parse(sessionStorage.getItem('target'+ this.boxNumber));
|
if (sessionStorage.getItem('target'+ this.boxNumber)) this.target = JSON.parse(sessionStorage.getItem('target'+ this.boxNumber));
|
||||||
if (sessionStorage.getItem('tabeleData'+ this.boxNumber)) this.tabeleData = JSON.parse(sessionStorage.getItem('tabeleData'+ this.boxNumber));
|
if (sessionStorage.getItem('tableData'+ this.boxNumber)) this.tableData = JSON.parse(sessionStorage.getItem('tableData'+ this.boxNumber));
|
||||||
},
|
},
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
executionTime: 'Not execute yet',
|
executionTime: 'Not execute yet',
|
||||||
selectedIp: ["199.247.22.146",12111,20473,1],
|
selectedIp: ["199.247.22.146",12111,20473,1],
|
||||||
target: '8.8.8.8',
|
target: '8.8.8.8',
|
||||||
tabeleData : [ ],
|
tableData : [ ],
|
||||||
tableDataHistory: []
|
tableDataHistory: []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user