导入到 Myeclipse后,就出现了红叉。
红叉的提示信息如下:
Multiple markers at this line- The left-hand side of an assignment must be a variable- Type mismatch: cannot convert from any[] to any- Type mismatch: cannot convert from any[] to any- Type mismatch: cannot convert from any[] to any- Missing semicolon- Missing semicolon- Missing semicolon- Missing semicolon- Syntax error on token "}", delete this token- Missing semicolon- Missing semicolon- Missing semicolon- Missing semicolon
出现原因:没有告诉 myeclipse 去验证引入的 js
右击 jquery-1.10.1.min.js --> MyEclipse ①先点击 Exclude From Validation ;
②再点击 Run Validation:随后弹框提示 no error ,说明问题已解决
wangeditor.min.js 的小红叉问题,解决方法同上