Commit 556b8107 authored by xiabin's avatar xiabin

防止误操作,在上传过程中关闭页面。

parent 8a84f514
......@@ -109,4 +109,9 @@ var vm = new Vue({
richText.createEditor($("#introEditor"), this.tmp);
}
});
\ No newline at end of file
});
//添加关闭提示页面
window.onbeforeunload=function () {
var warning="确认退出?";
return warning;
};
\ No newline at end of file
......@@ -120,4 +120,11 @@ var vm = new Vue({
richText.createEditor($("#introEditor"), this.tmp);
}
});
\ No newline at end of file
});
//添加关闭提示页面
window.onbeforeunload=function () {
var warning="确认退出?";
return warning;
};
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment