Rename plot to runSim
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Running...
</button>
- <button v-else class="btn btn-primary green" type="button" @click="plot">
+ <button v-else class="btn btn-primary green" type="button" @click="runSim">
Run
</button>
data() {
return {
version: 'Version information unavailable',
+ previousPars: [],
sim_pars: {},
epi_pars: {},
activeGraphs: [],
vm.version = response.data
},
- async plot() {
+ async runSim() {
vm.running = true;
-
vm.activeGraphs = [];
-
console.log(vm.status);
console.log(vm.sim_pars, vm.epi_pars);
