[已解决]报错:execjs._exceptions.ProgramError: ReferenceError: window is not defined

问题:

execjs._exceptions.ProgramError: ReferenceError: window is not defined

解决:
定义一个就行 var window = {}; 然后再看它读了window的哪些属性 都补上就行

猜你喜欢

转载自www.cnblogs.com/hankleo/p/11653331.html
今日推荐