Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG_FAF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
DG_FAF
Commits
cb55a5a2
Commit
cb55a5a2
authored
Apr 04, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消热区组件数据未保存提示
parent
65f2f59c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
custom-hot-zone.component.ts
...c/app/common/custom-hot-zone/custom-hot-zone.component.ts
+5
-5
No files found.
form_angular/src/app/common/custom-hot-zone/custom-hot-zone.component.ts
View file @
cb55a5a2
...
@@ -1326,17 +1326,17 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -1326,17 +1326,17 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
// 数据改变
// 数据改变
setDataChange
()
{
setDataChange
()
{
// console.log("数据改变")
// console.log("数据改变")
window
.
onbeforeunload
=
function
(
event
)
{
//
window.onbeforeunload = function(event) {
event
.
returnValue
=
""
;
//
event.returnValue = "";
};
//
};
}
}
// 数据改变
// 数据改变
resetDataChange
()
{
resetDataChange
()
{
// console.log("数据保存")
// console.log("数据保存")
window
.
onbeforeunload
=
function
(
event
)
{
//
window.onbeforeunload = function(event) {
};
//
};
}
}
private
clickedHotZonePic
(
item
:
any
)
{
private
clickedHotZonePic
(
item
:
any
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment