Commit cb55a5a2 authored by 李维's avatar 李维

取消热区组件数据未保存提示

parent 65f2f59c
......@@ -1326,17 +1326,17 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
// 数据改变
setDataChange() {
// console.log("数据改变")
window.onbeforeunload = function(event) {
event.returnValue = "";
};
// window.onbeforeunload = function(event) {
// event.returnValue = "";
// };
}
// 数据改变
resetDataChange() {
// console.log("数据保存")
window.onbeforeunload = function(event) {
// window.onbeforeunload = function(event) {
};
// };
}
private clickedHotZonePic(item: any) {
......
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