Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
op-web-service
Commits
19293041
Commit
19293041
authored
Jul 16, 2021
by
mengwenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 商品提交信息修改
parent
c7faa17d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
index.vue
src/pages/Goods/Detail/index.vue
+7
-7
No files found.
src/pages/Goods/Detail/index.vue
View file @
19293041
...
@@ -627,7 +627,7 @@ import {
...
@@ -627,7 +627,7 @@ import {
checkGoodsName
,
checkGoodsName
,
getShopsList
,
getShopsList
,
postAddShop
,
postAddShop
,
//
editGoods
editGoods
}
from
"@/service/Goods/goods"
;
}
from
"@/service/Goods/goods"
;
import
{
GOODS_URI
}
from
"../../../../server/config.js"
;
import
{
GOODS_URI
}
from
"../../../../server/config.js"
;
...
@@ -1276,12 +1276,12 @@ export default {
...
@@ -1276,12 +1276,12 @@ export default {
console
.
log
(
query
);
console
.
log
(
query
);
//
const res = await editGoods(query);
const
res
=
await
editGoods
(
query
);
//
if (res.code !== 0) {
if
(
res
.
code
!==
0
)
{
//
return this.$message.error(res.reason);
return
this
.
$message
.
error
(
res
.
reason
);
//
}
}
//
this.$message.success("商品编辑成功!");
this
.
$message
.
success
(
"商品编辑成功!"
);
//
this.$router.replace({ name: "GoodsList" });
this
.
$router
.
replace
({
name
:
"GoodsList"
});
}
}
}
}
};
};
...
...
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