🐛 Fix: default picBed using picBed.uploader instead of picBed.current

This commit is contained in:
PiEgg 2021-04-21 23:20:21 +08:00
parent 69e1dc8128
commit 0a986c8933

View File

@ -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,