Pārlūkot izejas kodu

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

Xiao_123 4 mēneši atpakaļ
vecāks
revīzija
4cf36889e6

+ 3 - 3
src/utils/whiteList.js

@@ -2,11 +2,11 @@
 // 查询是否在白名单内
 const checkWhiteListFun = (url, whiteList)=> {
   const path = url.split('?')[0]
-  console.log('path:', path)
-  console.log('whiteList:', whiteList)
+  // console.log('path:', path)
+  // console.log('whiteList:', whiteList)
   for (const item of whiteList) {
     if (path.startsWith(item)) {
-      console.log('在白名单内')
+      // console.log('在白名单内')
       return true
     }
   }

+ 2 - 2
src/views/recruit/components/message/index.vue

@@ -453,8 +453,6 @@ async function handleChange (items) {
     const { channel, list, more } = await initChart(userId, enterpriseId)
     // console.log('--------',list)
     channelItem.value = channel.value
-    // 获取最近职位记录
-    getMessageTypeSync()
     messageItems.value = list.value
     hasMore.value = more
     chatRef.value.scrollBottom()
@@ -462,6 +460,8 @@ async function handleChange (items) {
     await resetUnread(channel.value, entBaseInfo?.enterpriseId)
     await updateConversation()
     updateUnreadCount()
+    // 获取最近职位记录
+    getMessageTypeSync()
   } catch (error) {
     messageItems.value = []
   } finally {