TypeError:_.includes不是函数,Angular Google Maps [英] TypeError: _.includes is not a function, Angular Google Maps

查看:278
本文介绍了TypeError:_.includes不是函数,Angular Google Maps的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将使用angular-google-maps 2.3.1和lodash 4.3.0(自定义版本)的google maps集成时,出现此错误.

While integrating google maps using angular-google-maps 2.3.1 with lodash 4.3.0 (Custom Build) , I am getting this error.

通过某些链接,我知道它们存在一些最新版本的问题,但是我无法找到导致此问题的确切原因.

From some links I got to know they have some issues in latest version but I am not able to find the exact reason behind this issue.

推荐答案

我在评论中发帖时,我遇到了同样的问题,并解决了降级lodash直到版本3.8.0的问题.

As I post in a comment, I had the same problem and I solved it downgrading lodash until version 3.8.0.

不确定为什么4.x版本目前无法正常工作.

Not sure why version 4.x doesn't work properly at the moment.

这篇关于TypeError:_.includes不是函数,Angular Google Maps的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆