Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
蒋勇
zhichan
Commits
3addd054
Commit
3addd054
authored
Jan 19, 2020
by
刘泽奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
f5b91d96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
igirl-channel-web/app/front/entry/public/js/index.js
+3
-2
igirl-channel-web/app/front/vues/pages/nowbuy/nowbuy.js
+1
-1
No files found.
igirl-channel-web/app/front/entry/public/js/index.js
View file @
3addd054
...
@@ -587,13 +587,14 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
...
@@ -587,13 +587,14 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
});
});
},
},
postReq
(
path
,
data
)
{
postReq
(
path
,
data
)
{
var
_this
=
this
;
return
axios
.
post
(
path
,
data
,
{
"headers"
:
{
'codepath'
:
this
.
codePath
}
}).
then
(
function
(
r
)
{
return
axios
.
post
(
path
,
data
,
{
"headers"
:
{
'codepath'
:
this
.
codePath
}
}).
then
(
function
(
r
)
{
if
(
r
.
data
.
status
==
-
99
)
{
if
(
r
.
data
.
status
==
-
99
)
{
$
.
removeCookie
(
"userpin"
);
$
.
removeCookie
(
"userpin"
);
$
.
removeCookie
(
"userName"
);
$
.
removeCookie
(
"userName"
);
$
.
removeCookie
(
"channelUserId"
);
$
.
removeCookie
(
"channelUserId"
);
this
.
$root
.
user_Name
=
""
;
_
this
.
$root
.
user_Name
=
""
;
this
.
$root
.
channelUserId
=
''
;
_
this
.
$root
.
channelUserId
=
''
;
}
}
return
r
.
data
?
r
.
data
:
null
;
return
r
.
data
?
r
.
data
:
null
;
...
...
igirl-channel-web/app/front/vues/pages/nowbuy/nowbuy.js
View file @
3addd054
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
var
obj
=
this
.
$root
.
copyParams
(
this
.
params
,
"subOtherOrder"
,
"/action/tmOrder/springBoard"
,
'yes'
,
'yes'
);
var
obj
=
this
.
$root
.
copyParams
(
this
.
params
,
"subOtherOrder"
,
"/action/tmOrder/springBoard"
,
'yes'
,
'yes'
);
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
((
d
)
=>
{
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
((
d
)
=>
{
console
.
log
(
"---------submitOrder-------"
);
console
.
log
(
"---------submitOrder-------"
);
if
(
d
.
data
==
'-99'
)
{
if
(
d
.
status
==
'-99'
)
{
localStorage
.
OtherOrderParams
=
JSON
.
stringify
(
this
.
params
);
localStorage
.
OtherOrderParams
=
JSON
.
stringify
(
this
.
params
);
this
.
$message
.
warning
(
"未登录"
);
this
.
$message
.
warning
(
"未登录"
);
this
.
$router
.
push
({
path
:
`/
${
this
.
$root
.
channelName
}
/login`
,
});
this
.
$router
.
push
({
path
:
`/
${
this
.
$root
.
channelName
}
/login`
,
});
...
...
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