Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JJ_Game_Parent_Child
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
JJ_Game_Parent_Child
Commits
2359b243
Commit
2359b243
authored
Apr 09, 2025
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
955843e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
39 deletions
+39
-39
form.component.ts
form/src/app/form/form.component.ts
+39
-39
No files found.
form/src/app/form/form.component.ts
View file @
2359b243
...
...
@@ -426,51 +426,51 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
getBookTextList
()
{
let
resData1
=
{
"
msg
"
:
"
success
"
,
"
data
"
:
[
{
"
number
"
:
3
,
"
text
"
:
"
Mara the Mermaid Meets a Sea Turtle
"
},
{
"
number
"
:
5
,
"
text
"
:
"
I see a sea turtle!
"
},
{
"
number
"
:
6
,
"
text
"
:
"
I see one green sea turtle, and one brown sea turtle.
"
},
{
"
number
"
:
8
,
"
text
"
:
"
I see four long flippers.
"
},
{
"
number
"
:
10
,
"
text
"
:
"
I see one big shell.
"
},
{
"
number
"
:
12
,
"
text
"
:
"
I see many little eggs.
"
},
{
"
number
"
:
14
,
"
text
"
:
"
I see a sea turtle eating seaweed!
"
}
]
}
this
.
bookTextList
=
resData1
.
data
;
//
let resData1 =
//
{
//
"msg": "success",
//
"data": [
//
{
//
"number": 3,
//
"text": "Mara the Mermaid Meets a Sea Turtle"
//
},
//
{
//
"number": 5,
//
"text": "I see a sea turtle!"
//
},
//
{
//
"number": 6,
//
"text": "I see one green sea turtle, and one brown sea turtle."
//
},
//
{
//
"number": 8,
//
"text": "I see four long flippers."
//
},
//
{
//
"number": 10,
//
"text": "I see one big shell."
//
},
//
{
//
"number": 12,
//
"text": "I see many little eggs."
//
},
//
{
//
"number": 14,
//
"text": "I see a sea turtle eating seaweed!"
//
}
//
]
//
}
//
this.bookTextList = resData1.data;
this
.
bookTextList
=
this
.
filterDuplicateText
(
this
.
bookTextList
);
//
this.bookTextList = this.filterDuplicateText( this.bookTextList);
console
.
log
(
'
this.bookTextList:
'
,
this
.
bookTextList
);
//
console.log('this.bookTextList: ', this.bookTextList);
return
;
//
return;
console
.
log
(
'
in getBookTextList
'
);
const
call_back
=
(
res
)
=>
{
...
...
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