Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a4d954bf
authored
Feb 02, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
42e96458
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/store/modules/user/shipping.js
src/store/modules/user/shipping.js
View file @
a4d954bf
...
@@ -26,13 +26,15 @@ const actions = {
...
@@ -26,13 +26,15 @@ const actions = {
Services
.
shipping
(
qs
.
stringify
(
params
)).
then
((
res
)
=>
{
Services
.
shipping
(
qs
.
stringify
(
params
)).
then
((
res
)
=>
{
state
.
loading
=
false
;
state
.
loading
=
false
;
if
(
res
.
data
.
err_code
==
0
)
{
if
(
res
.
data
.
err_code
==
0
)
{
let
arr_
=
res
.
data
.
data
||
[]
let
arr_
=
res
.
data
.
data
||
[];
state
.
wlInfoAll
=
res
.
data
.
data
;
if
(
!
payload
.
order_shipping_id
){
return
}
arr_
.
forEach
((
item
)
=>
{
arr_
.
forEach
((
item
)
=>
{
if
(
item
.
order_shipping_id
==
payload
.
order_shipping_id
){
if
(
item
.
order_shipping_id
==
payload
.
order_shipping_id
){
state
.
wlInfo
=
item
state
.
wlInfo
=
item
}
}
})
})
state
.
wlInfoAll
=
res
.
data
.
data
}
else
{
}
else
{
Toast
(
res
.
data
.
err_msg
)
Toast
(
res
.
data
.
err_msg
)
}
}
...
...
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