参考这个https://blog.csdn.net/weixin_39550080/article/details/127771366
我的目的是tag根据路由的判断改变active,后面发现直接在html:type="tag.path === $router.currentRoute.value.fullPath ? 'sucess' : 'info'"就ok了