Skip to content

Commit f1119ac

Browse files
committed
fix
1 parent 80dbf84 commit f1119ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/pages/SearchPage.js

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ loadData(){
9696
this.cancelable.promise
9797
.then(res=>res.json())
9898
.then(resData =>{
99+
if(!this) {
100+
return
101+
}
99102
this.items=resData.items
100103
console.log(this.items)
101104
this.getFavoriteKeys()

0 commit comments

Comments
 (0)