Fix js get and close store

This commit is contained in:
Tony
2024-10-03 20:10:15 +08:00
parent 718f5dc90d
commit 4f13a03401
13 changed files with 171 additions and 22 deletions
+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 {