mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
fix: resolve resetting problem
修复重置问题
This commit is contained in:
parent
305cc4af27
commit
d9a170cf87
@ -246,10 +246,10 @@ let app = new Vue({
|
||||
this.editor.setValue(DEFAULT_CONTENT);
|
||||
this.cssEditor.setValue(DEFAULT_CSS_CONTENT);
|
||||
this.editor.focus();
|
||||
this.currentFont = this.builtinFonts[0].value;
|
||||
this.currentColor = this.colorOption[1].value;
|
||||
this.currentSize = this.sizeOption[2].value;
|
||||
this.status = '1';
|
||||
this.fontChanged(this.builtinFonts[0].value);
|
||||
this.colorChanged(this.colorOption[1].value);
|
||||
this.sizeChanged(this.sizeOption[2].value);
|
||||
this.cssChanged()
|
||||
}).catch(() => {
|
||||
this.editor.focus();
|
||||
|
Loading…
Reference in New Issue
Block a user