|
@@ -55,8 +55,9 @@ const query = ref({
|
|
|
hire: false // true 众聘岗位
|
|
|
})
|
|
|
|
|
|
-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 showHire = (route.query?.hire - 0) || 0
|
|
|
+const tab = ref(showHire ? 4: 1)
|
|
|
+// if (showHire ) router.replace({ path: route.path, query: { ...route.query, used: 1 } })
|
|
|
|
|
|
const tabList = [
|
|
|
{ label: t('position.recruitmentInProgress'), value: 1 },
|