openid
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<meta name="format-detection" content="telephone=no,address=no">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="white">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
|
||||
<title>cityh5</title>
|
||||
<title>异度星球</title>
|
||||
<script><%= htmlWebpackPlugin.options.script %></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -31,7 +31,7 @@ const Index = () => {
|
||||
let newOpenid = window.localStorage.getItem("openid");
|
||||
// window.alert(newOpenid)
|
||||
|
||||
if (newOpenid || urlopenid) {
|
||||
if (!!newOpenid && newOpenid!= 'undefined' || !!urlopenid&& urlopenid!= 'undefined' ) {
|
||||
// window.alert('存在')
|
||||
window.localStorage.setItem("openid", urlopenid);
|
||||
// window.alert(urlopenid);
|
||||
|
||||
Reference in New Issue
Block a user