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