Sfoglia il codice sorgente

Merge branch 'dev' of https://git.citupro.com/zhengnaiwen_citu/menduner into dev

Xiao_123 9 mesi fa
parent
commit
7f959f62d4

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

@@ -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 },