From a129cc4d7b0ffc2f19af8d9943af552359aface2 Mon Sep 17 00:00:00 2001 From: CPPAlien Date: Mon, 25 Nov 2019 14:51:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E7=94=A8=20action=20=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- painter.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/painter.js b/painter.js index 7e1fed2..b7e6a35 100644 --- a/painter.js +++ b/painter.js @@ -226,6 +226,10 @@ Component({ doView.css = Object.assign({}, doView.css, newVal.css) } } + (newVal && newVal.url !== doView.url) && (doView.url = newVal.url); + (newVal && newVal.text !== doView.text) && (doView.text = newVal.text); + (newVal && newVal.content !== doView.content) && (doView.content = newVal.content); + const draw = { width: this.currentPalette.width, height: this.currentPalette.height,