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
0c0ce1a3
authored
Feb 02, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'XK_order_ship20210120'
parents
f14c88bc
a4d954bf
Show 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 @
0c0ce1a3
...
...
@@ -26,13 +26,15 @@ const actions = {
Services
.
shipping
(
qs
.
stringify
(
params
)).
then
((
res
)
=>
{
state
.
loading
=
false
;
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
)
=>
{
if
(
item
.
order_shipping_id
==
payload
.
order_shipping_id
){
state
.
wlInfo
=
item
}
})
state
.
wlInfoAll
=
res
.
data
.
data
}
else
{
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