将字符串转化为可执行js

var val = new Function(params);

val ();
发布了111 篇原创文章 · 获赞 19 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/qq_34607371/article/details/103858927