修复取色器的属性设置
parent
f0ad97b316
commit
b76e54fd1e
|
@ -537,5 +537,16 @@ export default class Color {
|
||||||
delete this.handleInput1
|
delete this.handleInput1
|
||||||
delete this.handleInput2
|
delete this.handleInput2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
watch() {
|
||||||
|
switch (name) {
|
||||||
|
case 'value':
|
||||||
|
this.value = val
|
||||||
|
break
|
||||||
|
|
||||||
|
default:
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Reference in New Issue