Commit 2359b243 authored by limingzhe's avatar limingzhe

fix: debug

parent 955843e2
......@@ -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) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment