如果使用IDEA 设置一下 globals
或
/*global window */
... your script goes here
https://stackoverflow.com/questions/1404078/jslints-issue-with-window-as-a-global-variable
如果使用IDEA 设置一下 globals
或
/*global window */
... your script goes here
https://stackoverflow.com/questions/1404078/jslints-issue-with-window-as-a-global-variable