How does vue-router router-link change the value of child elements

router-link tag has a img tag, how to change the picture of img according to the activation state of router-link

the code is as follows: `

< router-link to= "/ chat" > < / router-link >

because .router-link-active itself has a graded background, it is impossible to set the background image directly.


uses < router-link to= "/ chat" > < / router-link > with css's first-child and last-child to solve the problem.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e92e3f-140e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e92e3f-140e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?