Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Mar 23, 2021
1 parent da920a3 commit 857ca9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export const VXETablePluginShortcutKey = {
}
}

if (typeof window !== 'undefined' && window.VXETable) {
if (typeof window !== 'undefined' && window.VXETable && window.VXETable.use) {
window.VXETable.use(VXETablePluginShortcutKey)
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table-plugin-shortcut-key",
"version": "1.5.0",
"version": "1.5.1",
"description": "基于 vxe-table 的表格插件,为键盘操作提供快捷键设置",
"scripts": {
"lib": "gulp build"
Expand Down Expand Up @@ -48,7 +48,7 @@
"prettier": "^2.1.2",
"typescript": "^4.0.5",
"vue": "^2.6.12",
"vxe-table": "^2.10.0",
"vxe-table": "^3.2.4",
"xe-utils": "^3.1.11"
},
"peerDependencies": {
Expand Down

0 comments on commit 857ca9a

Please sign in to comment.