Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
new-sing
h5-base
Commits
bfcc3c79
Commit
bfcc3c79
authored
Sep 29, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
a3a1ea40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
index.html
dist/index.html
+1
-1
app.512bf6c917320877a249.js
dist/static/js/app.512bf6c917320877a249.js
+1
-1
index.js
src/router/index.js
+8
-1
No files found.
dist/index.html
View file @
bfcc3c79
...
...
@@ -11,4 +11,4 @@
position
:
fixed
;
background
:
#f4f4f4
;
}
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.ed6d1273dc8c2d144766934b011e5890.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.200219187cecb180e5f5.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.66c80e6876ce6c07be16.js
></script></body></html>
\ No newline at end of file
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.ed6d1273dc8c2d144766934b011e5890.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.200219187cecb180e5f5.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.512bf6c917320877a249.js
></script></body></html>
\ No newline at end of file
dist/static/js/app.
66c80e6876ce6c07be16
.js
→
dist/static/js/app.
512bf6c917320877a249
.js
View file @
bfcc3c79
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/router/index.js
View file @
bfcc3c79
...
...
@@ -604,6 +604,13 @@ router.beforeEach((to, from, next) => {
next
({
name
:
'noWechat'
,
query
:
{
url
:
encodeURIComponent
(
to
.
fullPath
)
}
});
}
}
let
micromessenger
=
common
.
isWeixinBrowser
();
if
(
micromessenger
==
2
){
alert
(
micromessenger
)
location
.
href
=
`http://
${
window
.
location
.
host
}
/#/guidelines`
}
// 移动端判断
store
.
dispatch
(
'isMobile'
,
browser
.
versions
.
mobile
);
// 默认title
...
...
@@ -615,7 +622,7 @@ router.beforeEach((to, from, next) => {
if
(
to
.
meta
.
title
)
{
document
.
title
=
to
.
meta
.
title
;
}
let
goOn
=
function
()
{
if
(
localStorage
.
getItem
(
'retUrl'
)
&&
localStorage
.
getItem
(
'retUrl'
)
!==
null
&&
localStorage
.
getItem
(
'retUrl'
)
!==
''
)
{
let
retUrl
=
localStorage
.
getItem
(
'retUrl'
).
toString
();
...
...
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