cushax-client
Advanced tools
Comparing version 0.1.16 to 0.1.17
@@ -7,2 +7,3 @@ import { matchPage, existPage } from "./utils"; | ||
beforeMount: function () { | ||
var _a; | ||
var $vue = this; | ||
@@ -19,11 +20,11 @@ if (!cushaxObject.installed) { | ||
: undefined; | ||
for (var _i = 0, _a = $vue.$root.$children; _i < _a.length; _i++) { | ||
var component = _a[_i]; | ||
for (var _i = 0, _b = $vue.$root.$children; _i < _b.length; _i++) { | ||
var component = _b[_i]; | ||
component.$cushax = cushax; | ||
component.$getCushax = function () { return cushax; }; | ||
} | ||
for (var _b = 0, _c = route.matched; _b < _c.length; _b++) { | ||
var instances = _c[_b].instances; | ||
for (var _d = 0, _e = Object.values(instances); _d < _e.length; _d++) { | ||
var instance = _e[_d]; | ||
for (var _c = 0, _d = (_a = route === null || route === void 0 ? void 0 : route.matched) !== null && _a !== void 0 ? _a : []; _c < _d.length; _c++) { | ||
var instances = _d[_c].instances; | ||
for (var _e = 0, _f = Object.values(instances); _e < _f.length; _e++) { | ||
var instance = _f[_e]; | ||
instance.$cushax = cushax; | ||
@@ -30,0 +31,0 @@ instance.$getCushax = function () { return cushax; }; |
{ | ||
"name": "cushax-client", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"author": "boenfu <1997@boenfu.cn>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17329
387