Variable wont define with location.pathname

前端 未结 0 1354
粉色の甜心
粉色の甜心 2020-12-13 03:56

I am trying to update a the gender variable when the location.pathname updates. Everytime I run a console log of gender it is undefined. I have tried also putting the condit

相关标签:
回答
  • 消灭零回复
提交回复
热议问题