fix: id in payload
This commit is contained in:
@@ -70,7 +70,9 @@ export const useFileStore = create<FileStore>((set, get) => {
|
||||
const res = await query.post({
|
||||
path: 'file',
|
||||
key: 'delete',
|
||||
id,
|
||||
payload: {
|
||||
id,
|
||||
}
|
||||
});
|
||||
if (res.code === 200) {
|
||||
getList();
|
||||
|
||||
Reference in New Issue
Block a user