This commit is contained in:
ronger 2021-01-26 19:15:23 +08:00
parent e61acfb7d3
commit 8e91b539f0

View File

@ -268,11 +268,13 @@
if (res && res.message) {
_ts.$message.error(res.message);
} else {
_ts.contentEditor.setValue(res.portfolioDescription);
_ts.$message({
type: 'success',
message: title + '成功!'
});
_ts.$router.push({
path: '/portfolio/' + res.idPortfolio
})
}
_ts.$set(_ts, 'loading', false)
}).catch(error => _ts.$set(_ts, 'loading', false))