报错:Variable 'window' has not been declared,求助
朋友们,我写了个脚本其中要用到弹出对话框使用户输入一个字符串。我是这样写的:var offsetTime=window.prompt("请输入字符串");
运行时报错Variable 'window' has not been declared,是否需要import什么包?
2010-03-11 15:28
2010-03-11 18:22