소스 검색

个人信息改为在线简历

lifanagju_citu 8 달 전
부모
커밋
e1982ff837
2개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 3
      components/ResumeStatus/index.vue
  2. 2 2
      pages.json

+ 4 - 3
components/ResumeStatus/index.vue

@@ -30,7 +30,8 @@ const useUserStore = userStore()
 
 // 监听登录状态
 watch(() => useUserStore.refreshToken, (newVal, oldVal) => {
-	recommendCount(Boolean(newVal))
+	const reset = Boolean(!newVal)
+	recommendCount(reset)
 })
 
 onShow(() => {
@@ -45,7 +46,7 @@ const handleTo = (item) => {
 	})
 }
 
-async function recommendCount (refreshToken) {
+async function recommendCount (reset = false) {
 	try {
 		const { data: dict } = await getDict('menduner_hire_job_cv_status')
 		if (!dict?.data) {
@@ -58,7 +59,7 @@ async function recommendCount (refreshToken) {
 			}
 		})
 		// console.log(items)
-		if (!refreshToken) {
+		if (reset) {
 			return
 		}
 		const { data } = await getRecommendCount()

+ 2 - 2
pages.json

@@ -51,7 +51,7 @@
 				{
 					"path": "resumeOnline/baseInfoEdit",
 					"style": {
-						"navigationBarTitleText": "个人信息"
+						"navigationBarTitleText": "在线简历"
 					}
 				},
 				{
@@ -87,7 +87,7 @@
 				{
 					"path": "info/index",
 					"style": {
-						"navigationBarTitleText": "个人信息"
+						"navigationBarTitleText": "在线简历"
 					}
 				},
 				{