This commit is contained in:
@@ -145,7 +145,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
refresh: function() {
|
||||
console.log("dash-base:refresh()", new Date());
|
||||
this.$emit("dash-refresh", this.id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,13 +56,12 @@
|
||||
:count="0"
|
||||
moreUrl="/home-dashboard"
|
||||
icon="$ayiRobot"
|
||||
:updateFrequency="15000"
|
||||
:updateFrequency="30000"
|
||||
v-on:dash-remove="dashRemove"
|
||||
v-on:dash-move-start="dashMoveStart"
|
||||
v-on:dash-move-back="dashMoveBack"
|
||||
v-on:dash-move-forward="dashMoveForward"
|
||||
v-on:dash-move-end="dashMoveEnd"
|
||||
v-on:dash-refresh="dashRefresh"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -130,12 +129,13 @@ export default {
|
||||
this.effectiveView.splice(index, 1);
|
||||
this.saveView();
|
||||
},
|
||||
dashRefresh: function(item) {
|
||||
console.log(
|
||||
"home-dashboard:refresh (normally handle @ typed dash control)",
|
||||
item
|
||||
);
|
||||
},
|
||||
// dashRefresh: function(item) {
|
||||
// v-on:dash-refresh="dashRefresh"
|
||||
// console.log(
|
||||
// "home-dashboard:refresh (normally handle @ typed dash control)",
|
||||
// item
|
||||
// );
|
||||
// },
|
||||
getEffectiveViewItemIndexById: function(id) {
|
||||
return this.effectiveView.findIndex(z => z.id == id);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user