From d6b4cf7030ad13ed5c3e13b59785ff3861c7aec2 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 20 Mar 2024 15:02:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=B1=85=E6=B0=91=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subpages/searchResult/pages/searchResult/searchResult.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subpages/searchResult/pages/searchResult/searchResult.js b/subpages/searchResult/pages/searchResult/searchResult.js index 0bee7e4..ade6e01 100644 --- a/subpages/searchResult/pages/searchResult/searchResult.js +++ b/subpages/searchResult/pages/searchResult/searchResult.js @@ -1,5 +1,5 @@ // subpages/searchResult/pages/searchResult/searchResult.js -import {getCommunityHouse,getResidentBaseInfo} from "../../../../utils/api" +import {getCommunityHouse,getResidentBaseInfoPage} from "../../../../utils/api" const app = getApp() Page({ @@ -91,12 +91,12 @@ Page({ loadMoreType: "more", }) let parm ={ - searchKey:this.data.keyWord, + name:this.data.keyWord, pageSize:this.data.pageSize, pageNo:this.data.pageNo } if(this.data.type == 'resi'){ - getResidentBaseInfo(parm).then(res=>{ + getResidentBaseInfoPage(parm).then(res=>{ this.setData({ loadMoreType: res.data.list.length === this.data.pageSize ? 'more' : 'none', tableData: this.data.tableData.concat(res.data.list),