Commit d09e5be7 authored by yaya's avatar yaya

钱币设置暂不处理优化

parent 406c0c09
...@@ -387,6 +387,8 @@ export default { ...@@ -387,6 +387,8 @@ export default {
// 暂不处理 // 暂不处理
handleNotOperate() { handleNotOperate() {
this.goodsParams.state = 1 this.goodsParams.state = 1
this.goodsParams.categoryIds = []
this.goodsParams.cid = 0
editGoods(this.goodsParams).then(response => { editGoods(this.goodsParams).then(response => {
this.$message.success('处理成功') this.$message.success('处理成功')
this.handleNext() this.handleNext()
...@@ -445,6 +447,11 @@ export default { ...@@ -445,6 +447,11 @@ export default {
editGoods(this.goodsParams).then(response => { editGoods(this.goodsParams).then(response => {
this.$message.success('发布成功') this.$message.success('发布成功')
this.handleNext() this.handleNext()
}).catch(response => {
this.$notify.error({
title: '失败',
message: response.data.errmsg
})
}) })
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment