diff --git a/package.json b/package.json index 6ce423f4d..94d80ba21 100644 --- a/package.json +++ b/package.json @@ -92,6 +92,7 @@ "eslint": "^8.8.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-vue": "^8.4.1", + "font-awesome": "^4.7.0", "husky": "^7.0.4", "lint-staged": "11.1.2", "postcss": "^8.4.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7dcce693..3eca284e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,6 +43,7 @@ specifiers: eslint: ^8.8.0 eslint-plugin-prettier: ^4.0.0 eslint-plugin-vue: ^8.4.1 + font-awesome: ^4.7.0 husky: ^7.0.4 js-cookie: ^3.0.1 lint-staged: 11.1.2 @@ -162,6 +163,7 @@ devDependencies: eslint: 8.9.0 eslint-plugin-prettier: 4.0.0_eslint@8.9.0+prettier@2.5.1 eslint-plugin-vue: 8.4.1_eslint@8.9.0 + font-awesome: 4.7.0 husky: 7.0.4 lint-staged: 11.1.2 postcss: 8.4.6 @@ -3796,6 +3798,11 @@ packages: optional: true dev: false + /font-awesome/4.7.0: + resolution: { integrity: sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM= } + engines: { node: ">=0.10.3" } + dev: true + /fraction.js/4.1.3: resolution: { diff --git a/src/plugins/vxe-table/index.ts b/src/plugins/vxe-table/index.ts index 90747c3a2..63b7b5ed3 100644 --- a/src/plugins/vxe-table/index.ts +++ b/src/plugins/vxe-table/index.ts @@ -1,6 +1,7 @@ import "xe-utils"; import { App } from "vue"; import { i18n } from "../i18n/index"; +import "font-awesome/css/font-awesome.min.css"; import { // 核心 VXETable,