版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
window.onbeforeunload = function(e) {
if (this.$store.getters.getModify) {
return ((e || window.event).returnValue =
"该操作将会导致非正常退出系统(正确退出系统方式:点击退出系统按钮),您是否确认?");
}
};
window.onbeforeunload = function(e) {
if (this.$store.getters.getModify) {
return ((e || window.event).returnValue =
"该操作将会导致非正常退出系统(正确退出系统方式:点击退出系统按钮),您是否确认?");
}
};