。。。。。。。
老铁们,搞过这块有经验的麻烦指条路咯
可以修 Resources/static/build-templates/shares/main.js 文件,去掉window._CCSettings = undefined 就可以在代码里使用window._CCSettings获取相关信息了
我找到并注释了这一行,然后想在在TestView.ts的周期函数start里获取,但window没有CCSettings相关的,麻烦再详细说下,问题出在哪呢?这个具体怎么用的
你在浏览器中运行还要把preview-templates/boot.js 中的_CCSettings = undefined;注释掉,是window._CCSettings