src/views/menu/index.vue
@@ -34,6 +34,11 @@ name: '课程', categroy: [ { title: '在线培训', iconPath: new URL('@/assets/icons/icon2.png', import.meta.url).href, path: '/train' }, { title: '我的课程', iconPath: new URL('@/assets/icons/icon1.png', import.meta.url).href, path: '/exam-list' @@ -61,7 +66,7 @@ if(item.path) { router.push(item.path); } } }; </script> <style lang="scss" scoped>