javascript - document.url cannot get value in some cases
扔个三星炸死你2017-07-07 10:34:29
0
1
985
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.
Capitalized
URL
In addition, it is recommended to use
window.location.href
to get