Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
f8f64bf8
Commit
f8f64bf8
authored
Jun 18, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务超市提示优化
parent
8bfb0ef8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/components/service-info/app-info.vue
src/components/service-info/app-info.vue
+2
-2
src/components/service-info/service-info.vue
src/components/service-info/service-info.vue
+2
-2
No files found.
src/components/service-info/app-info.vue
View file @
f8f64bf8
...
@@ -102,13 +102,13 @@ export default {
...
@@ -102,13 +102,13 @@ export default {
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
if
(
data
.
success
==
1
)
{
if
(
data
.
success
==
1
)
{
this
.
$message
({
this
.
$message
({
message
:
`添加购物车成功`
,
message
:
data
.
errMsg
,
type
:
"
success
"
,
type
:
"
success
"
,
});
});
this
.
$store
.
commit
(
"
setMenuCartState
"
);
this
.
$store
.
commit
(
"
setMenuCartState
"
);
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
`添加购物车失败`
,
message
:
data
.
errMsg
,
type
:
"
warning
"
,
type
:
"
warning
"
,
});
});
}
}
...
...
src/components/service-info/service-info.vue
View file @
f8f64bf8
...
@@ -163,13 +163,13 @@ export default {
...
@@ -163,13 +163,13 @@ export default {
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
if
(
data
.
success
==
1
)
{
if
(
data
.
success
==
1
)
{
this
.
$message
({
this
.
$message
({
message
:
`添加购物车成功`
,
message
:
data
.
errMsg
,
type
:
"
success
"
,
type
:
"
success
"
,
});
});
this
.
$store
.
commit
(
"
setMenuCartState
"
);
this
.
$store
.
commit
(
"
setMenuCartState
"
);
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
`添加购物车失败`
,
message
:
data
.
errMsg
,
type
:
"
warning
"
,
type
:
"
warning
"
,
});
});
}
}
...
...
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