Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
0
Merge Requests
0
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
程默
mayi-mp-shop
Commits
3aad30bc
Commit
3aad30bc
authored
May 14, 2021
by
张卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序验证智能表单进入
parent
4cc35580
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/pages/wxArticle/index.vue
+4
-2
No files found.
src/pages/wxArticle/index.vue
View file @
3aad30bc
...
@@ -14,8 +14,10 @@
...
@@ -14,8 +14,10 @@
<
script
>
<
script
>
let
forUrlAddKey
;
let
forUrlAddKey
;
let
getUrlKey
;
if
(
process
.
browser
)
{
if
(
process
.
browser
)
{
forUrlAddKey
=
require
(
"mayi-front-tools/forUrlAddKey"
).
default
forUrlAddKey
=
require
(
"mayi-front-tools/forUrlAddKey"
).
default
getUrlKey
=
require
(
"mayi-front-tools/getUrlKey"
).
default
}
}
import
{
serialize
,
getQueryVariable
,
DFSImg
}
from
"@/utils/index"
;
import
{
serialize
,
getQueryVariable
,
DFSImg
}
from
"@/utils/index"
;
export
default
{
export
default
{
...
@@ -28,9 +30,9 @@ export default {
...
@@ -28,9 +30,9 @@ export default {
}
}
},
},
onLoad
(
options
){
onLoad
(
options
){
console
.
log
(
decodeURIComponent
(
options
.
link
),
'地址'
,
forUrlAddKey
(
decodeURIComponent
(
options
.
link
),{
token
:
wx
.
getStorageSync
(
"sessionid"
),
jwt
:
1
}))
console
.
log
(
decodeURIComponent
(
options
.
link
),
'地址'
,
wx
.
getStorageSync
(
"sessionid"
),
forUrlAddKey
(
decodeURIComponent
(
options
.
link
),{
token
:
wx
.
getStorageSync
(
"sessionid"
),
jwt
:
1
}))
if
(
options
.
login
!=
'1'
)
{
if
(
getUrlKey
(
decodeURIComponent
(
options
.
link
),
'login'
)
!=
'1'
)
{
this
.
link
=
decodeURIComponent
(
options
.
link
)
this
.
link
=
decodeURIComponent
(
options
.
link
)
}
else
{
}
else
{
if
(
wx
.
getStorageSync
(
"sessionid"
))
{
if
(
wx
.
getStorageSync
(
"sessionid"
))
{
...
...
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