Skip to content

Commit

Permalink
refactor: 将vxeatab 兼容性改为使用vxe-table-plugin-element插件
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Sep 26, 2022
1 parent 69ac15a commit ee56698
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1,091 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"vue-i18n": "^9.1.10",
"vue-request": "^2.0.0-rc.2",
"vue-router": "^4.1.1",
"vxe-table": "^4.3.5"
"vxe-table": "^4.3.5",
"vxe-table-plugin-element": "^3.0.6"
},
"devDependencies": {
"@babel/core": "^7.18.10",
Expand Down
4 changes: 2 additions & 2 deletions src/components/meVxeTable/install.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { app } from '@/app';
import VXETable from 'vxe-table';
import VXETablePluginElement from './vxe-table-plugin-element';
import VXETablePluginElement from 'vxe-table-plugin-element';
import 'vxe-table-plugin-element/dist/style.css';
import './style.scss';
import './vxe-table-plugin-element/style.scss';
VXETable.use(VXETablePluginElement);
if (app.config.globalProperties.$t) {
//为了兼容热更新重新拉取
Expand Down
Loading

0 comments on commit ee56698

Please sign in to comment.