Skip to content

Commit

Permalink
feat: lodash依赖去除,兼容适配微信
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhomie committed Jul 29, 2024
1 parent 68b7765 commit 275ae20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiled/alipay/src/_util/get.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function get(obj, path, defaultValue) {
export function get(obj, path, defaultValue?) {
// If path is not an array, convert it to an array
if (!Array.isArray(path)) {
path = path.split('.').map((key) => key.replace(/\[(\d+)]/g, '$1'));
Expand Down

0 comments on commit 275ae20

Please sign in to comment.