修改样式,添加字体修改

This commit is contained in:
huangdeliang
2021-03-05 15:44:45 +08:00
parent 4f08bedf61
commit 4c654d8617
4 changed files with 85 additions and 7 deletions

View File

@ -29,7 +29,8 @@ const oriState = {
endNum: 0,
reviewStatus: 0,
templateInfo: undefined,
copyData: undefined
copyData: undefined,
fontSize: 12
};
const mutations = {
@ -56,6 +57,9 @@ const mutations = {
}
}
},
updateFontSize(state, payload) {
state.fontSize = payload.fontSize;
},
addRecipesDishes(state, payload) {
state.recipesData[payload.num].dishes.push(payload.data);
},