Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit c30ebcf

Browse files
committed
style: 💄 修正大小写
1 parent 50711cf commit c30ebcf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/service/msgUploader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const FormData = require('form-data')
55
const { LOCAL_RECVD_MSG_API, RECVD_MSG_API } = process.env
66
const { MSG_TYPE_ENUM } = require('../config/const')
77
const cacheTool = require('../service/cache')
8-
const cloneDeep = require('lodash.cloneDeep')
8+
const cloneDeep = require('lodash.clonedeep')
99
/**
1010
* 收到消息上报接受url
1111
* @typedef {{type:'text'|'fileUrl'}} baseMsgInterface

src/utils/msg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { MSG_TYPE_ENUM, legacySystemMsgStrMap } = require('../config/const')
22
const { getAssetsAgentUrl } = require('./res')
3-
const cloneDeep = require('lodash.cloneDeep')
3+
const cloneDeep = require('lodash.clonedeep')
44
class CommonMsg {
55
/**
66
* @param {commonMsgPayload} payload

typings/lodash.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare module 'lodash.cloneDeep' {
1+
declare module 'lodash.clonedeep' {
22
// 定义 cloneDeep 函数,接受任意类型的参数,并返回相同的类型
33
function cloneDeep<T>(value: T): T
44
// commonjs 导出

0 commit comments

Comments
 (0)