:bugs: 保存草稿后路径调整问题修复
This commit is contained in:
parent
babf3b2472
commit
98f13bf6d9
@ -304,10 +304,7 @@
|
|||||||
localStorage.removeItem('article-tags');
|
localStorage.removeItem('article-tags');
|
||||||
_ts.contentEditor.setValue('');
|
_ts.contentEditor.setValue('');
|
||||||
_ts.$router.push({
|
_ts.$router.push({
|
||||||
name: 'draft',
|
path: `/draft/${res.id}`
|
||||||
params: {
|
|
||||||
id: res.id
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user