diff --git a/pages/warehouse/mana.vue b/pages/warehouse/mana.vue index 0d3772a..8f3445b 100644 --- a/pages/warehouse/mana.vue +++ b/pages/warehouse/mana.vue @@ -169,7 +169,8 @@ import request,{host} from '@/common/request' success: async res=>{ if(res.confirm){ var res=await request("/api/WarehouseManageApi/delete",{ - params:{id: this.list[index].warehouseId} + method:"delete", + params:{id: this.list[index].id} }) if(res.statu){ if(this.list.length>10){