fix: 修复删除及文件上传
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="logs\" />
|
<Folder Include="logs\" />
|
||||||
|
<Folder Include="wwwroot\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -15,10 +15,10 @@ export function add(data) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function del(code) {
|
export function del(id) {
|
||||||
return request({
|
return request({
|
||||||
url: `/comment`,
|
url: `/comment`,
|
||||||
method: "delete",
|
method: "delete",
|
||||||
data: "string" == typeof code ? [code] : code,
|
params: {id:id},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user