Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed May 23, 2020
1 parent 1b20567 commit 11d065c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/vxe-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
};

if (isV3) {
app.config.globalProperties[variate] = XEUtils[name];
app.config.globalProperties[variate] = XEUtils;
} else {
Object.defineProperty(app.prototype, variate, {
get: function get() {
Expand Down
2 changes: 1 addition & 1 deletion dist/vxe-utils.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function VXEUtils (app, XEUtils, options) {
}
}
if (isV3) {
app.config.globalProperties[variate] = XEUtils[name]
app.config.globalProperties[variate] = XEUtils
} else {
Object.defineProperty(app.prototype, variate, {
get: function () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-utils",
"version": "1.9.2",
"version": "1.9.3",
"description": "用于 Vue 全局安装 xe-utils",
"main": "dist/vxe-utils.common.js",
"unpkg": "dist/vxe-utils.js",
Expand Down

0 comments on commit 11d065c

Please sign in to comment.