fix zobrazenie tabulky

This commit is contained in:
2021-02-03 19:55:37 +01:00
parent 4927db6e13
commit 714327b236
3 changed files with 3 additions and 2 deletions

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

1
resources/js/app.js vendored
View File

@@ -134,6 +134,7 @@ Vue.component('b-button', BButton);
axios.get('/data', { axios.get('/data', {
params: { params: {
host: this.host
} }
}) })
.then(function (response) { .then(function (response) {

View File

@@ -98,7 +98,7 @@
<b-button variant="success" v-on:click="sethost('strecha')">Strecha</b-button> <b-button variant="success" v-on:click="sethost('strecha')">Strecha</b-button>
</div> </div>
<vue-table-dynamic :params="params"></vue-table-dynamic> <vue-table-dynamic :params="params" :key="host"></vue-table-dynamic>
<ul> <ul>
<li>Čas: @{{time}}</li> <li>Čas: @{{time}}</li>
</ul> </ul>