feat:导入文章成功跳转到封面

This commit is contained in:
Xwen
2024-01-04 19:41:55 +08:00
parent 8cb2b4a496
commit 7928424931

View File

@@ -332,6 +332,8 @@ const getFile = async (e) => {
type: "success",
});
importLoading.value = false;
const routerPer = { path: `/article/${route.query.discussId}` };
router.push(routerPer);
} catch (error) {
console.log(error, "error");
const { data } = error.response.data;