|
@@ -72,7 +72,6 @@ const tab = ref(1)
|
|
const navbarHeight = ref(uni.getStorageSync('navbarHeight'))
|
|
const navbarHeight = ref(uni.getStorageSync('navbarHeight'))
|
|
|
|
|
|
onLoad((options) => {
|
|
onLoad((options) => {
|
|
- console.log('onLoad:', options)
|
|
|
|
if (options?.tab) tab.value = Number(options?.tab)
|
|
if (options?.tab) tab.value = Number(options?.tab)
|
|
})
|
|
})
|
|
|
|
|
|
@@ -139,7 +138,10 @@ onShow(() => {
|
|
// 设置当前tab页的下标index
|
|
// 设置当前tab页的下标index
|
|
currentTabBar?.setData({ selected: 1 })
|
|
currentTabBar?.setData({ selected: 1 })
|
|
init()
|
|
init()
|
|
- getPublishJobCount()
|
|
|
|
|
|
+ // 延迟查询可发布职位数量
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ getPublishJobCount()
|
|
|
|
+ }, 1000)
|
|
})
|
|
})
|
|
|
|
|
|
const publishJobCount = ref(0)
|
|
const publishJobCount = ref(0)
|