re-factor / cleanup

This commit is contained in:
2022-01-11 22:08:38 +00:00
parent e871708b20
commit e0be8a7cfe
251 changed files with 14680 additions and 15693 deletions

View File

@@ -4,10 +4,10 @@
:add-url="'widgets/0'"
:show-more-button="true"
:update-frequency="60000"
v-bind="$attrs"
@dash-refresh="getDataFromApi()"
@dash-more-click="moreClick()"
v-on="$listeners"
v-bind="$attrs"
>
<template slot="main">
<div class="ml-4 mt-1">
@@ -38,6 +38,9 @@ export default {
components: {
GzDash
},
props: {
maxListItems: { type: Number, default: 10 }
},
data() {
return {
obj: [],
@@ -45,11 +48,8 @@ export default {
languageName: window.$gz.locale.getResolvedLanguage()
};
},
props: {
maxListItems: { type: Number, default: 10 }
},
created() {},
computed: {},
created() {},
methods: {
moreClick() {
const LIST_FORM_KEY = "widget-list";