后端代码
router.prefix('/blogType');
router.delete('/', async (ctx)=>{
ctx.body= '';
})
前端代码
this.axios("delete", "/blogType", {
data:{
_id: _id
}
})
.then(res => {
})
后端代码
router.prefix('/blogType');
router.delete('/', async (ctx)=>{
ctx.body= '';
})
前端代码
this.axios("delete", "/blogType", {
data:{
_id: _id
}
})
.then(res => {
})