Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
T_FT_01
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
T_FT_01
Commits
1c53bef7
Commit
1c53bef7
authored
Oct 21, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:移除日志输出
parent
beec69e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
custom-hot-zone.component.ts
...c/app/common/custom-hot-zone/custom-hot-zone.component.ts
+2
-2
form.component.ts
form/src/app/form/form.component.ts
+1
-1
No files found.
form/src/app/common/custom-hot-zone/custom-hot-zone.component.ts
View file @
1c53bef7
...
@@ -148,7 +148,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -148,7 +148,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
if
(
!
this
.
bg
)
{
if
(
!
this
.
bg
)
{
this
.
bg
=
new
MySprite
(
this
.
ctx
);
this
.
bg
=
new
MySprite
(
this
.
ctx
);
this
.
renderArr
.
push
(
this
.
bg
);
this
.
renderArr
.
push
(
this
.
bg
);
console
.
log
(
this
.
renderArr
)
}
}
const
bg
=
this
.
bg
;
const
bg
=
this
.
bg
;
...
@@ -516,7 +516,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -516,7 +516,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
initData
()
{
initData
()
{
console
.
log
(
this
.
wrap
.
nativeElement
)
this
.
canvasWidth
=
this
.
wrap
.
nativeElement
.
clientWidth
;
this
.
canvasWidth
=
this
.
wrap
.
nativeElement
.
clientWidth
;
this
.
canvasHeight
=
this
.
wrap
.
nativeElement
.
clientHeight
;
this
.
canvasHeight
=
this
.
wrap
.
nativeElement
.
clientHeight
;
this
.
mapScale
=
this
.
canvasWidth
/
this
.
canvasBaseW
;
this
.
mapScale
=
this
.
canvasWidth
/
this
.
canvasBaseW
;
...
...
form/src/app/form/form.component.ts
View file @
1c53bef7
...
@@ -46,7 +46,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -46,7 +46,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}
}
init
()
{
init
()
{
console
.
log
(
JSON
.
stringify
(
this
.
item
));
}
}
...
...
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