HttpFileServer icon indicating copy to clipboard operation
HttpFileServer copied to clipboard

ie加载上传插件时会提示错误。

Open caleb20000 opened this issue 2 years ago • 1 comments

网页错误详细信息

用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2) 时间戳: Wed, 7 Jun 2023 09:29:37 UTC

消息: 缺少 ';' 行: 1167 字符: 9 代码: 0 URI: http://192.168.198.112/

查看源代码1167对应的是: let uploadServer = './' let mainBody = document.querySelector('body') let files = []

加上; 后执行仍不能成功。我用的ie是ie 8.0.7601

caleb20000 avatar Jun 07 '23 09:06 caleb20000

有可能是let引发的,ECMAScript 6(2015)才引入的let,我这暂时没环境复测,有条件的话把前端代码里的let变为var试试。

scanfing avatar Aug 09 '23 02:08 scanfing