浏览代码

fix: Fix lodash module not found issue (#16953)

tags/1.2.0
HuDenghui 7 个月前
父节点
当前提交
4b5ec242e7
没有帐户链接到提交者的电子邮件

+ 1
- 1
web/app/components/base/chat/__tests__/utils.spec.ts 查看文件

@@ -1,4 +1,4 @@
import { get } from 'lodash'
import { get } from 'lodash-es'
import { buildChatItemTree, getThreadMessages } from '../utils'
import type { ChatItemInTree } from '../types'
import branchedTestMessages from './branchedTestMessages.json'

+ 1
- 1
web/app/components/workflow/nodes/http/hooks/use-key-value-list.ts 查看文件

@@ -1,6 +1,6 @@
import { useCallback, useEffect, useState } from 'react'
import { useBoolean } from 'ahooks'
import { uniqueId } from 'lodash'
import { uniqueId } from 'lodash-es'
import type { KeyValue } from '../types'

const UNIQUE_ID_PREFIX = 'key-value-'

正在加载...
取消
保存