Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
40ae8be9
Commit
40ae8be9
authored
Aug 12, 2021
by
zhujian
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
20415cc3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/common/js/wechatApi.js
+4
-1
src/index.html
+0
-5
No files found.
src/common/js/wechatApi.js
View file @
40ae8be9
...
...
@@ -12,7 +12,10 @@ import Platform from '@/common/js/platform';
import
User
from
'@/common/js/user'
;
import
Service
from
'@/common/js/service'
;
console
.
log
(
wx
.
agentConfig
,
' console.log(wx.agentConfig) '
)
var
hm
=
document
.
createElement
(
'script'
);
hm
.
src
=
'https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js'
;
var
s
=
document
.
getElementsByTagName
(
'script'
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);
export
default
class
WechatApi
{
static
initConfig
(
params
=
{
isAgentConfig
:
false
,
url
:
''
})
{
...
...
src/index.html
View file @
40ae8be9
...
...
@@ -53,11 +53,6 @@
</head>
<body>
<script>
setTimeout
(()
=>
{
if
(
!
wx
.
agentConfig
){
window
.
location
.
reload
()
}
},
100
)
</script>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
...
...
zhujian
@zhujian
mentioned in commit
b0003835
Aug 12, 2021
mentioned in commit
b0003835
mentioned in commit b000383597968af4989bd32c064fabee6bdd47df
Toggle commit list
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