Skip to content

Commit

Permalink
fix: 去掉vxe-table-plugin-element改为内部编写,以修复tsc检查错误
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Sep 22, 2022
1 parent 64f8c3a commit a193611
Show file tree
Hide file tree
Showing 6 changed files with 1,095 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
template
src/components/meKeepAlive
dist
vite.config.ts.*
vite.config.ts.*
src/components/meVxeTable/vxe-table-plugin-element
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
"vue-i18n": "^9.1.10",
"vue-request": "^2.0.0-rc.2",
"vue-router": "^4.1.1",
"vxe-table": "^4.3.5",
"vxe-table-plugin-element": "^3.0.5"
"vxe-table": "^4.3.5"
},
"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 './style.scss';
import 'vxe-table-plugin-element/dist/style.css';
import './vxe-table-plugin-element/style.scss';
VXETable.use(VXETablePluginElement);
if (app.config.globalProperties.$t) {
//为了兼容热更新重新拉取
Expand Down
Loading

0 comments on commit a193611

Please sign in to comment.