fix: bug fix

This commit is contained in:
JimQing 2020-07-04 16:51:30 +08:00
parent fc6d5e1d00
commit 10712bce17
2 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ export default {
document.body.removeChild(downLink)
},
...mapMutations(['clearEditorToDefault','setCurrentColor', 'setCiteStatus', 'themeChanged',
'setOutput', 'setCurrentFont', 'setCurrentSize', 'setCssEditorValue', 'setWxRendererOptions'])
'setHtml', 'setCurrentFont', 'setCurrentSize', 'setCssEditorValue', 'setWxRendererOptions'])
},
mounted() {
this.selectFont = this.currentFont;

View File

@ -26,7 +26,7 @@ const state = {
nightMode: false
};
const mutations = {
setHtmL(state, data) {
setHtml(state, data) {
state.html = data;
},
setEditorValue(state, data) {