chore: lodash-es

This commit is contained in:
xiaojunnuo
2023-06-29 17:20:47 +08:00
parent 042535536e
commit e5d902663b
29 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import _ from "lodash";
import _ from "lodash-es";
function copyList(originList, newList, options, parentId) {
for (const item of originList) {
const newItem = { ...item, parentId };
@@ -1,4 +1,4 @@
import _ from "lodash";
import _ from "lodash-es";
export async function getPcasData() {
const pcasData = () => import("china-division/dist/pcas-code.json");
const ret = await pcasData();
+1 -1
View File
@@ -1,6 +1,6 @@
import { mock } from "../api/service";
import * as tools from "../api/tools";
import _ from "lodash";
import _ from "lodash-es";
const commonMocks = import.meta.globEager("./common/mock.*.js");
const apiMocks = import.meta.globEager("../api/modules/*.mock.ts");
const viewMocks = import.meta.globEager("../views/**/mock.js");