search

Home  >  Q&A  >  body text

After the search method is encapsulated, an error is reported when running

Why do I get an error when I encapsulate the search method? The code is the same as the teacher's, but when I run it, it reports:

Cannot read property 'toLowerCase' of undefined

Does anyone know the reason? ? Thanks

回眸的冷漠回眸的冷漠2241 days ago1142

reply all(0)I'll reply

No reply
  • Cancelreply