feat: 前端lodash包优化成lodash-es

This commit is contained in:
李强
2024-03-18 21:21:19 +08:00
parent edf45c08d1
commit 2cfd8f0798
3 changed files with 4 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
"axios": "^1.2.1",
"countup.js": "^2.3.2",
"cropperjs": "^1.5.13",
"e-icon-picker": "^2.1.0",
"e-icon-picker": "^2.2.0",
"echarts": "^5.4.1",
"echarts-gl": "^2.0.9",
"echarts-wordcloud": "^2.1.0",
@@ -33,6 +33,7 @@
"js-cookie": "^3.0.1",
"js-table2excel": "^1.0.3",
"jsplumb": "^2.15.6",
"lodash-es": "^4.17.21",
"mitt": "^3.0.0",
"nprogress": "^0.2.0",
"pinia": "^2.0.28",

View File

@@ -14,7 +14,7 @@ import { storeToRefs } from 'pinia';
import { useThemeConfig } from '/@/stores/themeConfig';
import logoMini from '/@/assets/logo-mini.svg';
import { SystemConfigStore } from "/@/stores/systemConfig";
import _ from "lodash";
import _ from "lodash-es";
// 定义变量内容
const storesThemeConfig = useThemeConfig();
const { themeConfig } = storeToRefs(storesThemeConfig);

View File

@@ -79,7 +79,7 @@ import { getBaseURL } from "/@/utils/baseUrl";
const Account = defineAsyncComponent(() => import('/@/views/system/login/component/account.vue'));
const Mobile = defineAsyncComponent(() => import('/@/views/system/login/component/mobile.vue'));
const Scan = defineAsyncComponent(() => import('/@/views/system/login/component/scan.vue'));
import _ from "lodash";
import _ from "lodash-es";
// 定义变量内容
const storesThemeConfig = useThemeConfig();