From 791a96ae03cf92478244127b294c1fe520d31e89 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期六, 11 十月 2025 11:17:10 +0800
Subject: [PATCH] 优化

---
 entry/src/main/ets/pages/search/SearchPage.ets |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/entry/src/main/ets/pages/search/SearchPage.ets b/entry/src/main/ets/pages/search/SearchPage.ets
index 8cf6fa6..e52fe0a 100644
--- a/entry/src/main/ets/pages/search/SearchPage.ets
+++ b/entry/src/main/ets/pages/search/SearchPage.ets
@@ -2,7 +2,7 @@
 import { http } from "@kit.NetworkKit"
 import { LvMarkdownIn } from "@luvi/lv-markdown-in"
 import { HttpResponseResult } from "../../data/HttpResponse"
-import { ROMAIN } from "../../utils/config"
+import { DOMAIN } from "../../utils/config"
 
 class JobItem {
   ability: string = ''
@@ -29,7 +29,7 @@
   getJobList() {
     let httpRequest = http.createHttp();
     httpRequest.request(
-      `${ROMAIN}/quiz-community/public/v1.0/home/seek/job`,
+      `${DOMAIN}/quiz-community/public/v1.0/home/seek/job`,
       {
         method: http.RequestMethod.GET,
         header: { 'Content-Type': 'application/json', 'x-jwt-token': `Bearer ${AppStorage.get('x-jwt-token')}` },
@@ -56,6 +56,7 @@
         return ele.companyName.includes(this.searchKeyword) || ele.jobName.includes(this.searchKeyword)
       })
       this.jobList = list
+      console.log(JSON.stringify(list))
     } else {
       this.jobList = this.origJobList
     }
@@ -188,7 +189,7 @@
             .border({ width: 1, style: BorderStyle.Solid, color: this.expandIndex == index ? '#1756f4' : '#f2f2f2' })
             .borderRadius(10)
           }
-        }, (index: number) => index.toString())
+        })
       }
       .listDirection(Axis.Vertical) // 鎺掑垪鏂瑰悜
       .scrollBar(BarState.Off)

--
Gitblit v1.8.0