Merge branch 'm_create_vue' of https://github.com/doocs/md into m_create_vue

This commit is contained in:
JimQing 2020-05-02 16:29:18 +08:00
commit 5f9b58c90f
2 changed files with 3 additions and 4 deletions

View File

@ -94,7 +94,6 @@ export default {
output: state=> state.output, output: state=> state.output,
editor: state=> state.editor, editor: state=> state.editor,
cssEditor: state=> state.cssEditor, cssEditor: state=> state.cssEditor,
html: state=> state.html,
currentFont: state=> state.currentFont, currentFont: state=> state.currentFont,
currentSize: state=> state.currentSize, currentSize: state=> state.currentSize,
currentColor: state=> state.currentColor currentColor: state=> state.currentColor

View File

@ -52,9 +52,9 @@ export default {
let table = '' let table = ''
for (let i = 0; i < rows + 2; ++i) { for (let i = 0; i < rows + 2; ++i) {
for (let j = 0; j < cols + 1; ++j) { for (let j = 0; j < cols + 1; ++j) {
table += (j === 0 ? '|' : (i !== 1 ? ' |' : ' --- |')) table += (j === 0 ? '|' : (i !== 1 ? ' |' : ' --- |'))
} }
table += '\n' table += '\n'
} }