es6 模板字符串 new Function

let str = `return new ${sceneName}.${sceneName.charAt(0).toUpperCase() + sceneName.slice(1)}`
let func = new Function(str);

此处评论已关闭