@scvzerng/element-ui-ag-grid-vue2 0.0.17 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30044,9 +30044,19 @@ class Yo {
30044
30044
  static mount(t, o, i, s) {
30045
30045
  let n = new Nt({
30046
30046
  beforeCreate() {
30047
- s ? (this._provided = Object.create(i.proxy._provided || null), Object.keys(s).forEach((l) => {
30048
- this._provided[l] = s[l];
30049
- })) : this._provided = i.proxy._provided || {}, this.$route = i.$root.$route, this.$router = i.$root.$router;
30047
+ s ? (this._provided = Object.create(i.proxy._provided || null), Object.keys(s).forEach((a) => {
30048
+ this._provided[a] = s[a];
30049
+ })) : this._provided = i.proxy._provided || {};
30050
+ const l = i.proxy.$root;
30051
+ l && l.$router && (Object.defineProperty(this, "$route", {
30052
+ value: i.proxy.$root.$route,
30053
+ writable: !1,
30054
+ configurable: !0
30055
+ }), Object.defineProperty(this, "$router", {
30056
+ value: i.proxy.$root.$router,
30057
+ writable: !1,
30058
+ configurable: !0
30059
+ }));
30050
30060
  },
30051
30061
  render(l) {
30052
30062
  return l(t, { props: o });