feat: 📦 lodash to lodash-es
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { assign, map } from 'lodash'
|
||||
import { assign, map } from 'lodash-es'
|
||||
import faker from 'faker/locale/zh_CN'
|
||||
import { service, request, serviceForMock, requestForMock, mock } from './service'
|
||||
import * as tools from './tools'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { find, map, random } from 'lodash'
|
||||
import { find, map, random } from 'lodash-es'
|
||||
|
||||
const businessIssue142Db = [
|
||||
{ id: '1', name: '用户 1', address: '上海市普陀区金沙江路 1518 弄' },
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { find, assign } from 'lodash'
|
||||
import { find, assign } from 'lodash-es'
|
||||
|
||||
const users = [
|
||||
{ username: 'admin', password: 'admin', uuid: 'admin-uuid', name: 'Admin' },
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import axios from 'axios'
|
||||
import Adapter from 'axios-mock-adapter'
|
||||
import { get } from 'lodash'
|
||||
import { get } from 'lodash-es'
|
||||
import util from '@/libs/util'
|
||||
import { errorLog, errorCreate } from './tools'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user