ui: fix psdoc_reply & overflow (#100)

This commit is contained in:
undefined committed 2021-04-20 02:08:07 +08:00
1 parent 30710cdbfb
commit 7f6c235c05
10 files changed
+87 -84

No files matched your search

@@ -1,6 +1,6 @@
import _ from 'lodash';
import DOMAttachedObject from 'vj/components/DOMAttachedObject';
import CmEditor from '.';
import CmEditor from './index';
export default class TextareaHandler extends DOMAttachedObject {
static DOMAttachKey = 'vjTextareaHandlerInstance';
@@ -11,7 +11,7 @@ export default class TextareaHandler extends DOMAttachedObject {
isCmEditor() {
const editor = this.getCmEditor();
return (editor && editor.isValid);
return !!(editor && editor.isValid);
}
val(...argv) {