From 0a986c89338c380495a6309683ba7948253ce24a Mon Sep 17 00:00:00 2001 From: PiEgg Date: Wed, 21 Apr 2021 23:20:21 +0800 Subject: [PATCH] :bug: Fix: default picBed using picBed.uploader instead of picBed.current --- src/renderer/utils/ConfirmButtonMixin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/utils/ConfirmButtonMixin.ts b/src/renderer/utils/ConfirmButtonMixin.ts index 4e777c0e..df43166f 100644 --- a/src/renderer/utils/ConfirmButtonMixin.ts +++ b/src/renderer/utils/ConfirmButtonMixin.ts @@ -2,7 +2,7 @@ import { Component, Vue } from 'vue-property-decorator' import { ipcRenderer } from 'electron' @Component export default class extends Vue { - defaultPicBed = this.$db.get('picBed.current') + defaultPicBed = this.$db.get('picBed.uploader') || this.$db.get('picBed.current') || 'smms' setDefaultPicBed (type: string) { this.letPicGoSaveData({ 'picBed.current': type,