Vue-router creates class

wants to add the active class to the outer dom (indicated by the arrow), but it always creates a new div and then adds class. What should I do with this?

Mar.30,2021

< router-link to= "/ pj-l-t c" class= "j-l-t" > menu < / router-link >


can't you add the style you want to router-link?

<router-link :to="url" class="defaultClass" :class="{'router-link-exact-active': active}">
  <div class="icon"></div>
  <span>{{title}}</span>
</router-link>
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-1b3ecea-2b7a7.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-1b3ecea-2b7a7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?