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
cadf60c4
authored
May 28, 2019
by
肖康
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'h5_zyly_vue_0517' into Development
parents
0cd1c4d5
c716b6b8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
src/store/modules/common.js
src/store/modules/gooddetail/gooddetail.js
src/views/lxshop/lxshop.vue
src/views/xianhuo/xianhuo.vue
src/store/modules/common.js
View file @
cadf60c4
...
@@ -13,7 +13,7 @@ const state = {
...
@@ -13,7 +13,7 @@ const state = {
const
mutations
=
{
const
mutations
=
{
cartCount
(
state
,
payload
)
{
cartCount
(
state
,
payload
)
{
state
.
cartCount
=
payload
.
data
?
payload
.
data
:
''
;
state
.
cartCount
=
payload
.
data
?
payload
.
data
:
0
;
},
},
loginCheck
(
state
,
payload
)
{
loginCheck
(
state
,
payload
)
{
if
(
payload
.
data
.
err_code
==
0
)
{
if
(
payload
.
data
.
err_code
==
0
)
{
...
...
src/store/modules/gooddetail/gooddetail.js
View file @
cadf60c4
...
@@ -37,7 +37,8 @@ const actions = {
...
@@ -37,7 +37,8 @@ const actions = {
const
toast
=
Toast
.
loading
({
const
toast
=
Toast
.
loading
({
message
:
'加载中...'
,
message
:
'加载中...'
,
duration
:
0
,
duration
:
0
,
forbidClick
:
true
forbidClick
:
true
,
loadingType
:
'spinner'
});
});
state
.
zygoodDetail
=
{};
state
.
zygoodDetail
=
{};
state
.
lygoodDetail
=
{};
state
.
lygoodDetail
=
{};
...
...
src/views/lxshop/lxshop.vue
View file @
cadf60c4
...
@@ -116,6 +116,9 @@ export default {
...
@@ -116,6 +116,9 @@ export default {
isShowAlert
(
now
)
{
isShowAlert
(
now
)
{
if
(
now
)
{
if
(
now
)
{
this
.
detailsData
=
{
isShow
:
false
,
id
:
""
};
this
.
detailsData
=
{
isShow
:
false
,
id
:
""
};
this
.
$store
.
dispatch
({
type
:
"cartCount"
});
}
}
},
},
supplierList
(
val
)
{
supplierList
(
val
)
{
...
...
src/views/xianhuo/xianhuo.vue
View file @
cadf60c4
...
@@ -264,6 +264,9 @@ export default {
...
@@ -264,6 +264,9 @@ export default {
isShowAlert
(
now
)
{
isShowAlert
(
now
)
{
if
(
now
)
{
if
(
now
)
{
this
.
detailsData
=
{
isShow
:
false
,
id
:
""
};
this
.
detailsData
=
{
isShow
:
false
,
id
:
""
};
this
.
$store
.
dispatch
({
type
:
"cartCount"
});
}
}
},
},
loading
(
now
)
{
loading
(
now
)
{
...
...
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