Comparing version 1.0.8 to 1.0.9
10
index.js
function plugin (Vue, XEAjax) { | ||
Object.defineProperties(Vue.prototype, { | ||
$ajax: { | ||
get () { | ||
XEAjax.context = this | ||
return XEAjax | ||
} | ||
Object.defineProperty(Vue.prototype, '$ajax', { | ||
get: function () { | ||
XEAjax.context = this | ||
return XEAjax | ||
} | ||
@@ -9,0 +7,0 @@ }) |
{ | ||
"name": "vxe-ajax", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "vxe-ajax 用于Vue全局安装xe-ajax", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2702
9
1