diff --git a/src/main.ts b/src/main.ts index e3b2de9..3b99a1c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -32,6 +32,7 @@ app.config.globalProperties.$builtInPicBed = [ 'aliyun', 'github' ] +app.config.unwrapInjectedRef = true app.config.globalProperties.$$db = db app.config.globalProperties.$http = axios diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 118ed22..0bfff0f 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -6,9 +6,11 @@