Skip to content

Commit

Permalink
fix 81 sidebar can not resize when first install
Browse files Browse the repository at this point in the history
  • Loading branch information
qishibo committed Aug 9, 2019
1 parent 3a95dd7 commit 0530c6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ export default {
});
},
initFont() {
const fontFamily = this.$storage.getSetting('fontFamily');
let fontFamily = this.$storage.getSetting('fontFamily');

!fontFamily && (fontFamily = [this.fontFamily]);

this.fontFamily = fontFamily.map((line) => {return `"${line}"`}).join(',');
}
},
Expand Down

0 comments on commit 0530c6a

Please sign in to comment.