From 29dff0d99cd42769feac9e8301e39e3649c26fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Mon, 3 Feb 2020 23:56:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E9=87=8D=E6=9E=84meditor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/meditor/index.wc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/meditor/index.wc b/src/meditor/index.wc index ac23562..8a68804 100644 --- a/src/meditor/index.wc +++ b/src/meditor/index.wc @@ -2,7 +2,7 @@
- +
@@ -17,7 +17,13 @@ export default class Meditor { } __init__() { - // /* render */ + /* render */ + + var elem = this.root.children[1] + + this.__TOOL__ = elem.children[0] + this.__EDITOR__ = elem.children[1] + this.__VIEW__ = elem.children[2] } }