feat: 删除debug语句
This commit is contained in:
@@ -32,7 +32,7 @@ const Index = () => {
|
||||
// http://192.168.31.245:10086/?openid=o7LFAwR32hWGq9XOpd7ZxK1wZxq8#/pages/index/index
|
||||
let hashopenid = null;
|
||||
if (window.location.href.includes("openid")) {
|
||||
window.alert(window.location.href);
|
||||
// window.alert(window.location.href);
|
||||
|
||||
hashopenid = window.location.href
|
||||
.split("#")[0]
|
||||
@@ -50,13 +50,13 @@ const Index = () => {
|
||||
(!!newOpenid && newOpenid != "undefined" &&newOpenid != "null") ||
|
||||
(!!hashopenid && hashopenid != "undefined"&&hashopenid != "null")
|
||||
) {
|
||||
window.alert('存在')
|
||||
window.alert(hashopenid);
|
||||
window.alert(newOpenid);
|
||||
// window.alert('存在')
|
||||
// window.alert(hashopenid);
|
||||
// window.alert(newOpenid);
|
||||
|
||||
window.localStorage.setItem("openid", hashopenid);
|
||||
} else {
|
||||
window.alert('不存在')
|
||||
// window.alert('不存在')
|
||||
let nowUrl = window.location.href;
|
||||
|
||||
// window.alert(nowUrl)
|
||||
|
||||
Reference in New Issue
Block a user