From b76e54fd1e8d2b0eea94c70d7a05eee3c857cbcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Wed, 10 Mar 2021 11:04:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=96=E8=89=B2=E5=99=A8?= =?UTF-8?q?=E7=9A=84=E5=B1=9E=E6=80=A7=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/color/index.wc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/color/index.wc b/src/color/index.wc index fdebf0c..9fa4231 100644 --- a/src/color/index.wc +++ b/src/color/index.wc @@ -537,5 +537,16 @@ export default class Color { delete this.handleInput1 delete this.handleInput2 } + + watch() { + switch (name) { + case 'value': + this.value = val + break + + default: + break + } + } }