|
|
@@ -126,7 +126,7 @@ const goLearnNote = () => {
|
|
|
// 将 activeIndex 改为响应式,并根据当前路由动态计算
|
|
|
const activeIndex = computed(() => {
|
|
|
console.log('route.path',route.path)
|
|
|
- if (route.path === '/') return '1'
|
|
|
+ if (route.path === '/index') return '1'
|
|
|
if (route.path.startsWith('/workflow-trade')) {
|
|
|
return '2'
|
|
|
}
|