Feture: Move height table to root elements

This commit is contained in:
winkidney
2019-03-07 17:55:48 +08:00
committed by Isaac Bythewood
parent 051c1735d6
commit 47bb9f4e09

View File

@@ -152,6 +152,7 @@ Vue.component('pin-container', {
}, },
template: "#pin-container-template", template: "#pin-container-template",
created: function() { created: function() {
this.heightTable = HeightTable(this.args.blockMargin);
this.$emit("loading"); this.$emit("loading");
var self = this; var self = this;
var offset = 0; var offset = 0;
@@ -176,7 +177,6 @@ Vue.component('pin-container', {
}, },
reflow: function() { reflow: function() {
this.updateArguments(); this.updateArguments();
this.heightTable = HeightTable(this.args.blockMargin);
}, },
updateArguments: function() { updateArguments: function() {
var blockContainer = this.$el; var blockContainer = this.$el;