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 + } + } }