Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM4-13
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-13
Commits
5712500b
Commit
5712500b
authored
Nov 09, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
9b57d0db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
custom-hot-zone.component.ts
...common/custom-hot-zone-ym413/custom-hot-zone.component.ts
+1
-1
form.component.ts
src/app/form/form.component.ts
+1
-1
No files found.
src/app/common/custom-hot-zone-ym413/custom-hot-zone.component.ts
View file @
5712500b
...
...
@@ -665,7 +665,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy {
}
getURL
(
url
:
string
)
{
if
(
url
.
indexOf
(
"
http
"
)
==-
1
&&
url
.
indexOf
(
"
/
"
)
==-
1
){
if
(
!
url
&&
url
.
indexOf
(
"
http
"
)
==-
1
&&
url
.
indexOf
(
"
/
"
)
==-
1
){
return
this
.
assetsRoot
.
replace
(
/_PH_IMAGE_NAME_/g
,
url
)
}
else
{
return
url
...
...
src/app/form/form.component.ts
View file @
5712500b
...
...
@@ -63,7 +63,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this
.
item
.
contentObj
=
{};
const
getData
=
(
<
any
>
window
).
courseware
.
getData
;
getData
((
data
)
=>
{
//
console.log("读取数据", data)
console
.
log
(
"
读取数据
"
,
data
)
if
(
data
)
{
this
.
item
=
data
;
}
else
{
...
...
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