在 idea 中,使用 el 表达式传值到前端页面时,有时会出现表达式都没错,但是就是报红,让人看了很揪心(不要问我为什么,我也不懂!!!)
现象》》》

解决方法:setting》editor》inspections》thymeleaf,将 Expression variables and validation 项取消勾选即可!!


就这样,齐活儿。
在 idea 中,使用 el 表达式传值到前端页面时,有时会出现表达式都没错,但是就是报红,让人看了很揪心(不要问我为什么,我也不懂!!!)
现象》》》
解决方法:setting》editor》inspections》thymeleaf,将 Expression variables and validation 项取消勾选即可!!
就这样,齐活儿。
本文标题:关于 idea 中编辑 html 页面时 EL 表达式无故报红的
本文链接:https://www.haomeiwen.com/subject/tnglgqtx.html
网友评论