|
@@ -57,7 +57,7 @@ const query = ref({
|
|
|
|
|
|
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 } })
|
|
|
+if (showHire) history.replaceState({ ...route.query, hire: 0 }, '', route.path) // 更新浏览器历史记录,不触发页面重新加载 ( 目的:去除目标参数 )
|
|
|
|
|
|
const tabList = [
|
|
|
{ label: t('position.recruitmentInProgress'), value: 1 },
|