Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
fc9174ab
Commit
fc9174ab
authored
Sep 01, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 分享验证
parent
35905816
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wxJsSdk.js
src/service/wxJsSdk.js
+2
-2
No files found.
src/service/wxJsSdk.js
View file @
fc9174ab
...
...
@@ -2,7 +2,7 @@
* @Description: weixin-js-sdk
* @LastEditors: gzw
* @Date: 20120-08-30 18:40:11
* @LastEditTime: 2020-09-01 18:
36:05
* @LastEditTime: 2020-09-01 18:
51:52
*/
import
cfg
from
"
@/config/index
"
;
import
{
getwxAuth
}
from
"
@/api/user
"
;
...
...
@@ -70,7 +70,7 @@ export async function setShare({
export
function
checkOpenId
()
{
const
openId
=
localStorage
.
get
(
"
openId
"
);
const
local
=
window
.
location
.
href
;
alert
(
!
openId
&&
isWeixinBrower
);
console
.
log
(
openId
,
isWeixinBrower
);
if
(
!
openId
&&
isWeixinBrower
)
{
alert
(
"
无openid
"
);
var
nextPage
=
document
.
createElement
(
"
a
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment