Merge pull request #868 from lvqingan/2.0
修正table render的自定义组件中无法获取this.$store的问题
This commit is contained in:
commit
0ce5e00df8
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@
|
||||||
},
|
},
|
||||||
components: components
|
components: components
|
||||||
});
|
});
|
||||||
|
if ($parent.$store != undefined) {
|
||||||
|
component.$store = $parent.$store;
|
||||||
|
}
|
||||||
component.row = this.row;
|
component.row = this.row;
|
||||||
component.column = this.column;
|
component.column = this.column;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue