fix: 修复删除及文件上传
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="logs\" />
|
||||
<Folder Include="wwwroot\" />
|
||||
</ItemGroup>
|
||||
|
||||
</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({
|
||||
url: `/comment`,
|
||||
method: "delete",
|
||||
data: "string" == typeof code ? [code] : code,
|
||||
params: {id:id},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user