feat:导入文章成功跳转到封面
This commit is contained in:
@@ -332,6 +332,8 @@ const getFile = async (e) => {
|
|||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
importLoading.value = false;
|
importLoading.value = false;
|
||||||
|
const routerPer = { path: `/article/${route.query.discussId}` };
|
||||||
|
router.push(routerPer);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error, "error");
|
console.log(error, "error");
|
||||||
const { data } = error.response.data;
|
const { data } = error.response.data;
|
||||||
|
|||||||
Reference in New Issue
Block a user