Commit 2359b243 authored by limingzhe's avatar limingzhe

fix: debug

parent 955843e2
...@@ -426,51 +426,51 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -426,51 +426,51 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
getBookTextList() { getBookTextList() {
let resData1 = // let resData1 =
{ // {
"msg": "success", // "msg": "success",
"data": [ // "data": [
{ // {
"number": 3, // "number": 3,
"text": "Mara the Mermaid Meets a Sea Turtle" // "text": "Mara the Mermaid Meets a Sea Turtle"
}, // },
{ // {
"number": 5, // "number": 5,
"text": "I see a sea turtle!" // "text": "I see a sea turtle!"
}, // },
{ // {
"number": 6, // "number": 6,
"text": "I see one green sea turtle, and one brown sea turtle." // "text": "I see one green sea turtle, and one brown sea turtle."
}, // },
{ // {
"number": 8, // "number": 8,
"text": "I see four long flippers." // "text": "I see four long flippers."
}, // },
{ // {
"number": 10, // "number": 10,
"text": "I see one big shell." // "text": "I see one big shell."
}, // },
{ // {
"number": 12, // "number": 12,
"text": "I see many little eggs." // "text": "I see many little eggs."
}, // },
{ // {
"number": 14, // "number": 14,
"text": "I see a sea turtle eating seaweed!" // "text": "I see a sea turtle eating seaweed!"
} // }
] // ]
} // }
this.bookTextList = resData1.data; // 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'); console.log(' in getBookTextList');
const call_back = (res) => { 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