From 2b3cd45ca19b7b7ad8ab985446187624ea513b41 Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 26 Apr 2022 00:20:09 +0800 Subject: [PATCH] fix(database): cannot find module lodash --- packages/core/database/src/fields/context-field.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/database/src/fields/context-field.ts b/packages/core/database/src/fields/context-field.ts index 985b889a7..fbda86a03 100644 --- a/packages/core/database/src/fields/context-field.ts +++ b/packages/core/database/src/fields/context-field.ts @@ -1,4 +1,4 @@ -import { lodash } from '@umijs/utils'; +import lodash from 'lodash'; import { DataTypes } from 'sequelize'; import { Model } from '../model'; import { BaseColumnFieldOptions, Field } from './field';