Fixed jscolor.js not work with Vue updated by AJAX color value

For example:

We got some data form AJAX and the valuable is “topBGColor”.

in HTML

<input data-jscolor="">

add ref="topBGColor"

<input data-jscolor="" ref="topBGColor">

in Javascript (After get ajax value)

let topBGColor = "#ff0000";

this.$refs.topBGColor.style = 'background-image: linear-gradient(to right, '+topBGColor+' 0%, '+topBGColor+' 30px, rgba(0, 0, 0, 0) 31px, rgba(0, 0, 0, 0) 100%) !important; background-position: left top, left top !important; background-size: auto, 32px 16px !important; background-repeat: repeat-y, repeat-y !important; background-origin: padding-box, padding-box !important; padding-left: 40px !important;';