Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM4-11
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
YM4-11
Commits
46aca9f7
Commit
46aca9f7
authored
Sep 16, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
64a2ba0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
upload-image-with-preview.component.ts
...image-with-preview/upload-image-with-preview.component.ts
+0
-1
form.component.ts
src/app/form/form.component.ts
+1
-1
No files found.
src/app/common/upload-image-with-preview/upload-image-with-preview.component.ts
View file @
46aca9f7
...
@@ -35,7 +35,6 @@ export class UploadImageWithPreviewComponent implements OnDestroy, OnChanges {
...
@@ -35,7 +35,6 @@ export class UploadImageWithPreviewComponent implements OnDestroy, OnChanges {
constructor
(
private
nzMessageService
:
NzMessageService
)
{
constructor
(
private
nzMessageService
:
NzMessageService
)
{
this
.
uploadUrl
=
(
<
any
>
window
).
courseware
.
uploadUrl
();
this
.
uploadUrl
=
(
<
any
>
window
).
courseware
.
uploadUrl
();
this
.
uploadData
=
(
<
any
>
window
).
courseware
.
uploadData
();
this
.
uploadData
=
(
<
any
>
window
).
courseware
.
uploadData
();
window
[
'
air
'
].
getUploadCallback
=
(
url
,
data
)
=>
{
window
[
'
air
'
].
getUploadCallback
=
(
url
,
data
)
=>
{
this
.
uploadUrl
=
url
;
this
.
uploadUrl
=
url
;
this
.
uploadData
=
data
;
this
.
uploadData
=
data
;
...
...
src/app/form/form.component.ts
View file @
46aca9f7
...
@@ -13,7 +13,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -13,7 +13,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
dataArray
:
Array
<
Object
>
=
[];
dataArray
:
Array
<
Object
>
=
[];
hotZoneItemArr
:
Array
<
Object
>
=
[];
hotZoneItemArr
:
Array
<
Object
>
=
[];
bgItem
:
Object
;
bgItem
:
Object
;
bgImages
:
Object
;
bgImages
:
Object
=
{
leftTop
:
""
,
middleTop
:
""
,
rightTop
:
""
,
leftMiddle
:
""
,
rightMiddle
:
""
,
leftBottom
:
""
,
middleBottom
:
""
,
rightBottom
:
""
}
;
KEY
=
'
DataKey_YM4-11
'
;
KEY
=
'
DataKey_YM4-11
'
;
set
item
(
item
)
{
set
item
(
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