feat: 📦 lodash to lodash-es

This commit is contained in:
FairyEver
2020-11-17 08:32:46 +08:00
parent 790f69a751
commit f53927121e
25 changed files with 307 additions and 299 deletions

View File

@@ -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'

View File

@@ -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 弄' },

View File

@@ -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' },

View File

@@ -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'