在调用picker的点击事件后,再执行其他事件调用setInterval方法,会发生js卡死,报错如下:
To solve this issue, avoid using eval(), new Function(), setTimeout([string], ...) and setInterval([string], ...) for evaluating strings.
If you absolutely must: you can enable string evaluation by adding unsafe-eval as an allowed source in a script-src directive.
请帮忙看看需要怎么解决?谢谢