forked from Leaf/amber-ui
改进 删除资料库后自动返回
This commit is contained in:
parent
75ef90216c
commit
72aa819582
@ -296,6 +296,7 @@ const newLibrary = async () => {
|
|||||||
|
|
||||||
const remove = async (id: number) => {
|
const remove = async (id: number) => {
|
||||||
await getApi().Library.apiV1LibrariesIdDelete(id);
|
await getApi().Library.apiV1LibrariesIdDelete(id);
|
||||||
|
showEditLibraryDialog.value = false;
|
||||||
libraryStore.updateLibraries();
|
libraryStore.updateLibraries();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user