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

@@ -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();