参考链接:https://blog.csdn.net/wangjun5159/article/details/89874144
每次点击maven的刷新都被还原了。。
如有帮助,请采纳一下。可以点击文件-项目结构针对项目进行设置。