fix(electron): bookmark plugin wound not work (#2776)

(cherry picked from commit 44580f6af0)
This commit is contained in:
Himself65
2023-06-15 00:43:28 +08:00
committed by Alex Yang
parent 3d17c50777
commit b5f7a3177d
9 changed files with 64 additions and 40 deletions
+1
View File
@@ -32,6 +32,7 @@ export function definePlugin<ID extends string>(
if (isServer) {
if (serverAdapter) {
console.log('register server adapter');
serverAdapter
.load()
.then(({ default: adapter }) => {