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
f9710bfa
authored
May 28, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
h5zyly
parent
5269f0ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
src/store/modules/gooddetail/gooddetail.js
src/views/lxshop/lxshop.vue
src/views/xianhuo/xianhuo.vue
src/store/modules/gooddetail/gooddetail.js
View file @
f9710bfa
...
@@ -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 @
f9710bfa
...
@@ -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 @
f9710bfa
...
@@ -243,7 +243,7 @@ export default {
...
@@ -243,7 +243,7 @@ export default {
},
},
created
()
{
created
()
{
this
.
getDefaultClass
();
this
.
getDefaultClass
();
this
.
$store
.
commit
(
"closeAlert"
);
this
.
$store
.
commit
(
"closeAlert"
);
},
},
computed
:
{
computed
:
{
...
mapState
({
...
mapState
({
...
@@ -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