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

@@ -21,7 +21,7 @@
</template>
<script>
import { cloneDeep } from 'lodash'
import { cloneDeep } from 'lodash-es'
import { mapState, mapMutations } from 'vuex'
import { frameInRoutes } from '@/router/routes'
import layoutHeaderAside from '@/layout/header-aside'

View File

@@ -41,7 +41,7 @@
</template>
<script>
import { uniqueId } from 'lodash'
import { uniqueId } from 'lodash-es'
import { mapActions } from 'vuex'
export default {
data () {

View File

@@ -43,7 +43,7 @@
</template>
<script>
import { uniqueId } from 'lodash'
import { uniqueId } from 'lodash-es'
import { mapActions } from 'vuex'
export default {
data () {

View File

@@ -37,7 +37,7 @@
</template>
<script>
import { uniqueId } from 'lodash'
import { uniqueId } from 'lodash-es'
import { mapActions } from 'vuex'
export default {
data () {

View File

@@ -39,7 +39,7 @@
</template>
<script>
import { uniqueId } from 'lodash'
import { uniqueId } from 'lodash-es'
import { mapActions } from 'vuex'
export default {
data () {

View File

@@ -21,7 +21,7 @@
</template>
<script>
import { cloneDeep } from 'lodash'
import { cloneDeep } from 'lodash-es'
import { mapState, mapMutations, mapActions } from 'vuex'
export default {
data () {

View File

@@ -70,7 +70,7 @@
<script>
import { mapState } from 'vuex'
import { get } from 'lodash'
import { get } from 'lodash-es'
export default {
data () {
return {