Skip to content

Commit 136e6cd

Browse files
committed
fix: 📦 lodash-es to lodash (lowdb存在导致lodash无法移除)
1 parent 0d4f315 commit 136e6cd

File tree

25 files changed

+25
-29
lines changed

25 files changed

+25
-29
lines changed

dependencies-cdn.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"highlight.js": "^10.0.2",
2929
"hotkeys-js": "^3.7.3",
3030
"js-cookie": "^2.2.1",
31-
"lodash-es": "^4.17.15",
31+
"lodash": "^4.17.20",
3232
"lowdb": "^1.0.0",
3333
"marked": "^1.0.0",
3434
"nprogress": "^0.2.0",

src/api/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assign, map } from 'lodash-es'
1+
import { assign, map } from 'lodash'
22
import faker from 'faker/locale/zh_CN'
33
import { service, request, serviceForMock, requestForMock, mock } from './service'
44
import * as tools from './tools'

src/api/modules/demo.api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { find, map, random } from 'lodash-es'
1+
import { find, map, random } from 'lodash'
22

33
const businessIssue142Db = [
44
{ id: '1', name: '用户 1', address: '上海市普陀区金沙江路 1518 弄' },

src/api/modules/sys.user.api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { find, assign } from 'lodash-es'
1+
import { find, assign } from 'lodash'
22

33
const users = [
44
{ username: 'admin', password: 'admin', uuid: 'admin-uuid', name: 'Admin' },

src/api/service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Message } from 'element-ui'
22
import axios from 'axios'
33
import Adapter from 'axios-mock-adapter'
4-
import { get, isEmpty } from 'lodash-es'
4+
import { get, isEmpty } from 'lodash'
55
import qs from 'qs'
66
import util from '@/libs/util'
77
import store from '@/store'

src/components/d2-container/components/d2-source.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</template>
1010

1111
<script>
12-
import { last, get } from 'lodash-es'
12+
import { last, get } from 'lodash'
1313
export default {
1414
data () {
1515
return {

src/components/d2-container/components/mixins/normal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// 提供滚动方面的功能
22
// 非滚动优化模式通用
33

4-
import { throttle } from 'lodash-es'
4+
import { throttle } from 'lodash'
55

66
// 生成滚动事件的 handler
77
function handleMaker (wait) {

src/layout/header-aside/components/menu-header/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { throttle } from 'lodash-es'
1+
import { throttle } from 'lodash'
22
import { mapState } from 'vuex'
33
import menuMixin from '../mixin/menu'
44
import { createMenu } from '../libs/util.menu'

0 commit comments

Comments
 (0)