mirror of
https://github.com/doocs/md.git
synced 2024-11-28 21:46:25 +08:00
fix: update code theme selector
This commit is contained in:
parent
246818c878
commit
d42f98bcf1
@ -125,6 +125,7 @@ export default {
|
|||||||
currentFont: state=> state.currentFont,
|
currentFont: state=> state.currentFont,
|
||||||
currentSize: state=> state.currentSize,
|
currentSize: state=> state.currentSize,
|
||||||
currentColor: state=> state.currentColor,
|
currentColor: state=> state.currentColor,
|
||||||
|
codeTheme: state=> state.codeTheme,
|
||||||
nightMode: state=> state.nightMode
|
nightMode: state=> state.nightMode
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -262,6 +263,7 @@ export default {
|
|||||||
this.selectFont = this.currentFont;
|
this.selectFont = this.currentFont;
|
||||||
this.selectSize = this.currentSize;
|
this.selectSize = this.currentSize;
|
||||||
this.selectColor = this.currentColor;
|
this.selectColor = this.currentColor;
|
||||||
|
this.selectCodeTheme = this.codeTheme;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user