Browse Source

判断是否要展示众聘列表

lifanagju_citu 9 months ago
parent
commit
8cd7fcaa81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/recruit/enterprise/positionManagement/index.vue

+ 1 - 1
src/views/recruit/enterprise/positionManagement/index.vue

@@ -55,7 +55,7 @@ const query = ref({
   hire: false // true 众聘岗位
 })
 
-const tab = ref(route.query?.hire ? 4: 1)
+const tab = ref(route.query?.hire === true || route.query?.hire === 'true' ? 4: 1)
 if (route.query?.hire) router.replace({ path: route.path, query: { ...route.query, hire: false } })
 
 const tabList = [