fix: 🐛 修复引入 import lodash cloneDeep debounce 错误 改为 lodash-es 了 (#322)

This commit is contained in:
若川 2024-07-01 14:08:57 +08:00 committed by GitHub
parent f031f5fc7c
commit 349b4dad8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// 引入防抖函数 // 引入防抖函数
import _debounce from 'lodash/debounce' import { debounce as _debounce } from 'lodash-es'
/** /**
* @description: 监听元素尺寸变化 * @description: 监听元素尺寸变化
* @param {*} el 元素dom * @param {*} el 元素dom

View File

@ -34,7 +34,7 @@
<script setup> <script setup>
import { reactive, toRefs, computed, watch, onMounted, onUnmounted, ref } from 'vue' import { reactive, toRefs, computed, watch, onMounted, onUnmounted, ref } from 'vue'
import _cloneDeep from 'lodash/cloneDeep' import { cloneDeep as _cloneDeep } from 'lodash-es'
import { import {
separateItemListHead, separateItemListHead,
summaryType, summaryType,