mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-02 02:59:42 +08:00
🐛 Fix: default picBed using picBed.uploader instead of picBed.current
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user