add pari settings router

This commit is contained in:
fly_mc 2024-10-18 22:17:45 +08:00
parent 7b1b5aeafb
commit 443bfb50ce
3 changed files with 6 additions and 2 deletions

View file

@ -131,7 +131,7 @@ const menuDef = computed(() => [{
to: '/settings/plugin', to: '/settings/plugin',
active: currentPage.value?.route.name === 'plugin', active: currentPage.value?.route.name === 'plugin',
}, { }, {
icon: 'ti ti-light-bulb', icon: 'ti ti-plus',
text: 'Pari Cafe', text: 'Pari Cafe',
to: '/settings/pari', to: '/settings/pari',
active: currentPage.value?.route.name === 'pari', active: currentPage.value?.route.name === 'pari',

View file

@ -23,6 +23,6 @@ const autoTranslateButton = computed(defaultStore.makeGetterSetter('autoTranslat
definePageMetadata(() => ({ definePageMetadata(() => ({
title: 'Pari Cafe', title: 'Pari Cafe',
icon: 'ti ti-light-bulb', icon: 'ti ti-plus',
})); }));
</script> </script>

View file

@ -127,6 +127,10 @@ const routes: RouteDef[] = [{
path: '/plugin', path: '/plugin',
name: 'plugin', name: 'plugin',
component: page(() => import('@/pages/settings/plugin.vue')), component: page(() => import('@/pages/settings/plugin.vue')),
}, {
path: '/pari',
name: 'pari',
component: page(() => import('@/pages/settings/pari.vue')),
},{ },{
path: '/import-export', path: '/import-export',
name: 'import-export', name: 'import-export',