Sfoglia il codice sorgente

企业顶部导航栏跳转地址调整

Xiao_123 2 mesi fa
parent
commit
18a55e8a5f
2 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 3 0
      components.d.ts
  2. 2 2
      src/layout/company/navBar.vue

+ 3 - 0
components.d.ts

@@ -73,4 +73,7 @@ declare module 'vue' {
     VerifySlide: typeof import('./src/components/Verifition/Verify/VerifySlide.vue')['default']
     WangEditor: typeof import('./src/components/FormUI/wangEditor/index.vue')['default']
   }
+  export interface ComponentCustomProperties {
+    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
+  }
 }

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

@@ -17,7 +17,7 @@
           <div class="cursor-pointer mx-3 commonHover" @click="handleLogout(false)">我要求职</div>
 
           <div class="enterprise-septal-line"></div>
-          <div class="d-flex align-center mx-3 cursor-pointer commonHover" @click="router.push('/recruit/enterprise/membershipPackage/index?key=1')">
+          <div class="d-flex align-center mx-3 cursor-pointer commonHover" @click="router.push('/recruit/enterprise/tradingOrder?key=tab_recharge')">
             <div>剩余M豆:{{ enterpriseUserAccount?.balance ? enterpriseUserAccount?.balance / 100 : 0 }}个</div>
           </div>
 
@@ -117,7 +117,7 @@ onMounted(() => {
 const handleLogoClick = () => { window.open('/recruitHome') } // 点击logo
 
 const enterpriseClick = (tabKey = 1) => {
-  const path = '/recruit/enterprise/systemManagement/entInfoSetting'
+  const path = '/recruit/enterprise/entInfoSetting'
   router.push({ path, query: { tabKey } })
 }