Add loadfile layer

This commit is contained in:
2022-04-24 14:10:39 +08:00
parent 87ed157340
commit b5ecf0bb0d
6 changed files with 78 additions and 1 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class HeaderBar extends Component<IHeaderBarProps & IMixinStatusProps & IMixinSe
private showCloseMessage = (e: BeforeUnloadEvent) => {
if (!this.props.status?.archive.isSaved) {
const message = I18N(this.props, "ZH_CH");
const message = I18N(this.props, "Info.Hint.Save.After.Close");
(e || window.event).returnValue = message; // 兼容 Gecko + IE
return message; // 兼容 Gecko + Webkit, Safari, Chrome
}