in the vue project, to change the background color by clicking on the tag tag, the first idea is that the js click event directly changes the dom style. When you run, you find that the color has changed, and the method changes to the original color again after running. You don"t quite understand it, but ask for advice