Ver código fonte

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

zhengnaiwen_citu 1 ano atrás
pai
commit
cbfc3451c5
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      src/views/Home/personal/components/hotJobs.vue

+ 2 - 0
src/views/Home/personal/components/hotJobs.vue

@@ -15,6 +15,8 @@ let jobs = ref(null)
 const getTreeData = async () => {
   const res = await getHotPositionList()
   jobs.value = res || []
+  // 暂无数据,先假数据
+  if (!res?.length) jobs.value = ['Java','PHP','C#','.NET','会计','区块链工程师','测试', '新媒体运营','人力资源专员/助理','GIS工程师']
 }
 getTreeData()
 </script>