Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
mingPayPc
Commits
84da4b86
Commit
84da4b86
authored
Jul 05, 2019
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
845fafda
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
config.js
src/api/config.js
+1
-2
main.js
src/main.js
+1
-1
No files found.
src/api/config.js
View file @
84da4b86
...
@@ -13,8 +13,6 @@ const config = {
...
@@ -13,8 +13,6 @@ const config = {
resolve
(
res
.
data
.
data
)
resolve
(
res
.
data
.
data
)
})
})
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
location
.
href
.
replace
(
window
.
location
.
hash
,
''
))
let
senddate
=
qs
.
stringify
({
let
senddate
=
qs
.
stringify
({
version
:
MINGPAY_CONSTANT
.
MINGPAY_CONSTANT_VERSION
,
version
:
MINGPAY_CONSTANT
.
MINGPAY_CONSTANT_VERSION
,
url
:
location
.
href
.
replace
(
window
.
location
.
hash
,
''
),
url
:
location
.
href
.
replace
(
window
.
location
.
hash
,
''
),
...
@@ -38,6 +36,7 @@ const config = {
...
@@ -38,6 +36,7 @@ const config = {
'biz.contact.complexPicker'
'biz.contact.complexPicker'
]
// 必填,需要使用的jsapi列表,注意:不要带dd。
]
// 必填,需要使用的jsapi列表,注意:不要带dd。
})
})
sessionStorage
.
setItem
(
'isFirstAction'
,
true
)
dd
.
error
(
function
(
error
)
{
dd
.
error
(
function
(
error
)
{
console
.
log
(
'dd error: '
+
JSON
.
stringify
(
error
))
console
.
log
(
'dd error: '
+
JSON
.
stringify
(
error
))
return
'no'
return
'no'
...
...
src/main.js
View file @
84da4b86
...
@@ -39,7 +39,7 @@ router.beforeEach(function (to, from, next) {
...
@@ -39,7 +39,7 @@ router.beforeEach(function (to, from, next) {
if
(
to
.
name
===
'noPermission'
||
to
.
name
===
'configError'
)
{
if
(
to
.
name
===
'noPermission'
||
to
.
name
===
'configError'
)
{
next
()
next
()
}
else
{
}
else
{
if
(
localStorage
.
getItem
(
'
userId
'
))
{
if
(
localStorage
.
getItem
(
'
isFirstAction
'
))
{
next
()
next
()
}
else
{
}
else
{
localStorage
.
setItem
(
'orgId'
,
to
.
redirectedFrom
.
substr
(
1
))
localStorage
.
setItem
(
'orgId'
,
to
.
redirectedFrom
.
substr
(
1
))
...
...
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