Fix js get and close store

This commit is contained in:
Tony committed 2024-10-03 20:10:15 +08:00
1 parent 718f5dc90d
commit 4f13a03401
13 files changed
+171 -22

No files matched your search

+5
View File
@@ -276,6 +276,11 @@ export class Store extends Resource implements IStore {
}
})
}
async close(): Promise<void> {
// The default close on `Resource` can only close resources in the webview's resource table
await invoke('plugin:store|close_store', { rid: this.rid })
}
}
interface IStore {