This commit is contained in:
parent
e61acfb7d3
commit
8e91b539f0
@ -268,11 +268,13 @@
|
|||||||
if (res && res.message) {
|
if (res && res.message) {
|
||||||
_ts.$message.error(res.message);
|
_ts.$message.error(res.message);
|
||||||
} else {
|
} else {
|
||||||
_ts.contentEditor.setValue(res.portfolioDescription);
|
|
||||||
_ts.$message({
|
_ts.$message({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: title + '成功!'
|
message: title + '成功!'
|
||||||
});
|
});
|
||||||
|
_ts.$router.push({
|
||||||
|
path: '/portfolio/' + res.idPortfolio
|
||||||
|
})
|
||||||
}
|
}
|
||||||
_ts.$set(_ts, 'loading', false)
|
_ts.$set(_ts, 'loading', false)
|
||||||
}).catch(error => _ts.$set(_ts, 'loading', false))
|
}).catch(error => _ts.$set(_ts, 'loading', false))
|
||||||
|
Loading…
Reference in New Issue
Block a user