These components may be used in different places, some need the immediate attribute in the watch, some do not need
Boolean values related to variables are invalid
watch:{
color:{
handler () {
let rgba = this.color.rgba;
let currentColor = rgba.a === 1 ? this.color.hex : `rgba(${rgba.r},${rgba.g},${rgba.b},${rgba.a})`;
this.submit('color',this.now,currentColor)
},
immediate: !(this.now==="standard")
}
}