diff --git a/package/component/src/component/colorPicker/index.vue b/package/component/src/component/colorPicker/index.vue index 19b6dbed..e4fb98d3 100644 --- a/package/component/src/component/colorPicker/index.vue +++ b/package/component/src/component/colorPicker/index.vue @@ -72,11 +72,9 @@ watch([red, green, blue], (newValue) => { rgba2hex(red.value, green.value, blue.value, alpha.value) ); let { h, s, v } = rgb2hsv(red.value, green.value, blue.value); - hue.value = h; saturation.value = s; value.value = v; pointStyle.value = `top: ${100 - v * 100}%;left: ${s * 100}%;`; - hueSliderStyle.value = `left: ${(hue.value / 360) * 100}%;`; }); watch(alpha, () => {