后端代码
router.prefix('/blogType');
router.delete('/', async (ctx)=>{
ctx.body= '';
})
前端代码
this.axios("delete", "/blogType", {
data:{
_id: _id
}
})
.then(res => {
})
回复 (1)
D
打印ctx就知道了,就在里面
参与回复
登录后即可参与回复。登录