|
|
@ -1292,7 +1292,7 @@ export default { |
|
|
|
this.$post(this.api.updateArticle, form).then(res => { |
|
|
|
this.$post(this.api.updateArticle, form).then(res => { |
|
|
|
this.updateFile(fileId, form, form.id) |
|
|
|
this.updateFile(fileId, form, form.id) |
|
|
|
Util.successMsg('修改成功') |
|
|
|
Util.successMsg('修改成功') |
|
|
|
next ? next() : this.$router.push(`list?columnId=` + form.columnId + (form.columnId != this.originColumnId ? '&last=1' : '')) |
|
|
|
next ? next() : this.$router.push(`list?columnId=` + form.columnId + (form.columnId != this.originColumnId ? '&last=1' : '')) // 更改了所属栏目,则给列表传递一个last参数,跳转到最后一页 |
|
|
|
}).catch(err => { |
|
|
|
}).catch(err => { |
|
|
|
this.submiting = false |
|
|
|
this.submiting = false |
|
|
|
}) |
|
|
|
}) |
|
|
|