Skip to content

Commit 2ff063e

Browse files
committed
fix: fix build failed: ERR_REQUIRE_ESM
1 parent 0c2223a commit 2ff063e

File tree

4 files changed

+273
-152
lines changed

4 files changed

+273
-152
lines changed

packages/devui-vue/devui/editable-select/src/components/dropdown/dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { EditableSelectContext, Option as O, SELECT_KEY } from '../../editable-s
44
import Option from '../option/option';
55
import Loading from '../../../../loading/src/loading-directive';
66
import { useNamespace } from '../../../../shared/hooks/use-namespace';
7-
import { debounce } from 'lodash-es';
7+
import { debounce } from 'lodash';
88

99
export default defineComponent({
1010
name: 'DEditableSelectDropdown',

packages/devui-vue/devui/editable-select/src/composables/use-input-event.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { computed, Ref, SetupContext } from 'vue';
2-
import { debounce, isFunction } from 'lodash-es';
2+
import { debounce, isFunction } from 'lodash';
33
import { EditableSelectProps } from '../editable-select-types';
44
import { States } from './use-select';
55

packages/devui-vue/devui/editable-select/src/composables/use-select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { computed, ComputedRef, getCurrentInstance, nextTick, onMounted, reactive, ref, Ref, SetupContext, watch } from 'vue';
22
import { EditableSelectProps, Option, Options } from '../editable-select-types';
33
import { createI18nTranslate } from '../../../locale/create';
4-
import { isNil } from 'lodash-es';
4+
import { isNil } from 'lodash';
55

66
export interface UseSelectStatesReturnType {
77
hoveringIndex: number;

0 commit comments

Comments
 (0)