🐛 Fix: choose default picBed failure

ISSUES CLOSED: #537
This commit is contained in:
PiEgg
2020-07-12 22:01:00 +08:00
parent 4f0809e6b3
commit 21d3942d2b
8 changed files with 15 additions and 8 deletions

View File

@@ -5,7 +5,8 @@ export default class extends Vue {
defaultPicBed = this.$db.get('picBed.current')
setDefaultPicBed (type: string) {
this.letPicGoSaveData({
'picBed.current': type
'picBed.current': type,
'picBed.uploader': type
})
this.defaultPicBed = type
const successNotification = new Notification('设置默认图床', {