Xiao_123 hace 6 meses
padre
commit
df274b0221
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/menduner/system/jobFair/white/index.vue

+ 1 - 1
src/views/menduner/system/jobFair/white/index.vue

@@ -55,7 +55,7 @@ const getList = async () => {
   loading.value = true
   try {
     const data = await JobFairWhiteApi.getJobFairWhiteList()
-    if (!data) return
+    if (!data) return list.value = []
     list.value = data.enterpriseList.map(e => {
       return { ...e, title: data.fair.title }
     })