@@ -241,6 +241,9 @@ $title = "MD记事本";
}
+ window.onbeforeunload = function () {
+ return "请确认文档是否保存!";
+ }
</script>
</body>
</html>