diff --git a/src/components/ExpListContent.vue b/src/components/ExpListContent.vue index 407d8fb..a1611f2 100644 --- a/src/components/ExpListContent.vue +++ b/src/components/ExpListContent.vue @@ -53,10 +53,13 @@ export default defineComponent({ this.isLoading = false; }); }, - isActiveRoute(routename) { + isActiveRoute:function(routename) { // Example: Apply style if route name starts with 'user-' console.log('Current route name:', this.$route.name, 'Comparing with:', routename); return this.$route.name === routename; + }, + toExamples:function(){ + window.location.href='/Examples'; } }, mounted() { @@ -84,6 +87,15 @@ export default defineComponent({ + + + + +