Home  >  Q&A  >  body text

javascript - document.url cannot get value in some cases

is in the environment of WeChat’s built-in browser. This problem occurs in both Android and Apple, but I don’t know under what circumstances it cannot be obtained.

扔个三星炸死你扔个三星炸死你2661 days ago956

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-07-07 10:36:29

    Capitalized URL

    document.URL

    In addition, it is recommended to use window.location.href to get

    reply
    0
  • Cancelreply