diff --git a/pages/portfolio/post/_portfolio_id.vue b/pages/portfolio/post/_portfolio_id.vue index 24507cc..638ebb2 100644 --- a/pages/portfolio/post/_portfolio_id.vue +++ b/pages/portfolio/post/_portfolio_id.vue @@ -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))