Procházet zdrojové kódy

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

Xiao_123 před 1 rokem
rodič
revize
e2afc26e60

+ 4 - 1
src/api/position.js

@@ -44,7 +44,10 @@ export const getSimilarPosition = async (params) => {
 export const getJobAdvertisedSearch = async (params) => {
   return await request.get({
     url: '/app-api/menduner/system/job/advertised/search',
-    params
+    params,
+    headers: {
+      'CaChe-Control': 'no-store'
+    }
   })
 }
 

+ 2 - 1
src/config/axios/index.js

@@ -5,7 +5,7 @@ import { config } from './config'
 const { default_headers } = config
 
 const request = (option) => {
-  const { url, method, params, data, headersType, responseType, ...config } = option
+  const { url, method, params, data, headersType, responseType, headers, ...config } = option
   return service({
     url: url,
     method,
@@ -14,6 +14,7 @@ const request = (option) => {
     ...config,
     responseType: responseType,
     headers: {
+      ...headers,
       'Content-Type': headersType || default_headers
     }
   })

+ 2 - 1
src/views/recruit/position/components/cityFilter.vue

@@ -15,10 +15,11 @@ import areaTree from './areaCascader'
 import { ref } from 'vue'
 
 defineOptions({name: 'retrieval-components-cityFilter'})
+const emits = defineEmits('input')
 const tab = ref(1)
 const inputChange = (idChecked) => {
   console.log('idChecked', idChecked)
-
+  emits('input', idChecked)
 }
 const tabClick = () => {
 }