cushax-client
Advanced tools
Comparing version 0.1.15 to 0.1.16
@@ -18,8 +18,11 @@ import { matchPage, existPage } from "./utils"; | ||
: undefined; | ||
$vue.$root.$cushax = cushax; | ||
$vue.$root.$getCushax = function () { return cushax; }; | ||
for (var _i = 0, _a = route.matched; _i < _a.length; _i++) { | ||
var instances = _a[_i].instances; | ||
for (var _b = 0, _c = Object.values(instances); _b < _c.length; _b++) { | ||
var instance = _c[_b]; | ||
for (var _i = 0, _a = $vue.$root.$children; _i < _a.length; _i++) { | ||
var component = _a[_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]; | ||
instance.$cushax = cushax; | ||
@@ -26,0 +29,0 @@ instance.$getCushax = function () { return cushax; }; |
{ | ||
"name": "cushax-client", | ||
"version": "0.1.15", | ||
"version": "0.1.16", | ||
"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
17219
386