收起
打开PyCharm,进入Settings/Preferences :File -> Settings,在左侧导航栏中选择Version Control -> Local History。在右侧窗口中,确保“Enable Local History”选项已经勾选。
报告相同问题?