Bladeren bron

我的账户

lifanagju_citu 11 maanden geleden
bovenliggende
commit
6dc5768b20
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      src/layout/company/navBar.vue
  2. 1 1
      src/views/enterprise/purchasePackage/index.vue

+ 1 - 1
src/layout/company/navBar.vue

@@ -118,7 +118,7 @@ const handleLogout = async () => {
 const items = ref([
   { title: t('enterprise.personalInformationSettings'), icon: 'mdi-account-cog', change: () => router.push({ path: '/enterprise/informationSettings' }) },
   { title: t('setting.switchToJobSeeker'), icon: 'mdi-swap-horizontal', change: handleLogout },
-  { title: t('enterprise.account.myAccount'), icon: 'mdi-account', change: router.push({ path: '/enterprise/myAccount' }) },
+  { title: t('enterprise.account.myAccount'), icon: 'mdi-account', change: () => router.push({ path: '/enterprise/myAccount' }) },
   { title: t('setting.logOut'), icon: 'mdi-logout', change: handleLogout }
 ])
 

+ 1 - 1
src/views/enterprise/purchasePackage/index.vue

@@ -30,7 +30,7 @@
 <script setup>
 import packagesDetail from './components/packagesDetail.vue'
 import { ref } from 'vue'
-defineOptions({name: 'enterprisePurchasePackage'})
+defineOptions({name: 'enterprise-purchasePackage'})
 
 const tab = ref(1) 
 const packages = [