This commit is contained in:
2020-11-04 17:01:07 +00:00
parent 7f982fc4b8
commit 98ac083107
4 changed files with 16 additions and 13 deletions

View File

@@ -2,8 +2,10 @@
<gz-dash
icon="$ayiSplotch"
:addUrl="'widgets/0'"
:showMoreButton="true"
:updateFrequency="60000"
v-on:dash-refresh="getDataFromApi()"
v-on:dash-more-click="moreClick()"
v-on="$listeners"
v-bind="$attrs"
>
@@ -49,6 +51,9 @@ export default {
created() {},
computed: {},
methods: {
moreClick() {
console.log("more click");
},
async getDataFromApi() {
let lv = LIST_VIEW;
lv.limit = this.maxListItems;