if标签判空的时候 只需要 < if test=“null != electDate”> 即可 ![在这里插入图片描述](https://img-blog.csdnimg.cn/20200722181655979.pn