Home > front end >  Uncaught TypeError: always read the property innerHTML of undefined
Uncaught TypeError: always read the property innerHTML of undefined

Time:10-21

//information at the bottom of the
Var footerTpl=lay (' # footer) [0]. InnerHTML;
Lay (' # footer). The HTML (layui. Laytpl (footerTpl) render ({}))
. RemoveClass (' layui - hide ');
});

Display when debugging. InnerHTML is wrong

CodePudding user response:

Try to output lay (' # footer) and see what

CodePudding user response:

Lay (' # footer) [0]?
Lay (' # footer). The HTML ()
  • Related