浏览代码

撤销代码

lifanagju_citu 3 月之前
父节点
当前提交
458253e6cd
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/recruit/personal/companyDetail/index.vue

+ 3 - 3
src/views/recruit/personal/companyDetail/index.vue

@@ -28,8 +28,8 @@
       <v-divider></v-divider>
       <div class="mt-3">
         <v-tabs v-model="tab" align-tabs="start" color="primary" bg-color="#f3f3f3" @update:model-value="handleTabClick">
-          <v-tab :value="2">在招职位</v-tab>
           <v-tab :value="1">公司简介</v-tab>
+          <v-tab :value="2">在招职位</v-tab>
         </v-tabs>
         <div class="d-flex" v-if="Object.keys(info).length">
           <div class="content-left">
@@ -82,9 +82,9 @@ import { formatName } from '@/utils/getText'
 const route = useRoute()
 const router = useRouter()
 const { id } = router.currentRoute.value.params
-const tab = ref(2)
+const tab = ref(1)
 const savedTab = new URLSearchParams(window.location.search).get('key')
-tab.value = savedTab ? (savedTab === 'briefIntroduction' ? 1 : 2) : 2
+tab.value = savedTab ? (savedTab === 'briefIntroduction' ? 1 : 2) : 1
 
 const handleTabClick = () => {
   router.push(`${route.path}?key=${tab.value === 1 ? 'briefIntroduction' : 'recruitmentPositions'}`)