This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user