From f46786f11c5c08ead7501a82e5a71430ad69b782 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期日, 27 四月 2025 17:39:24 +0800 Subject: [PATCH] 修复线索问题定位错误问题 --- pages/cluetask/home/options-proxy.js | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/pages/cluetask/home/options-proxy.js b/pages/cluetask/home/options-proxy.js index a9d6890..8056d29 100644 --- a/pages/cluetask/home/options-proxy.js +++ b/pages/cluetask/home/options-proxy.js @@ -6,7 +6,7 @@ */ export const useOptions = Behavior({ data: { - time:'', + time: '', }, methods: { setLocation(e) { @@ -22,15 +22,17 @@ locationValue, } = e.detail; this.setData({ - provinceName, - cityName, - districtName, - townName, - provinceCode, - cityCode, - districtCode, - townCode, - locationValue, + location: { + provinceName, + cityName, + districtName, + townName, + provinceCode, + cityCode, + districtCode, + townCode, + locationValue, + }, }); }, initLocation(e) { @@ -40,8 +42,7 @@ // 琛屾斂鍖哄垝鍒囨崲鏃讹紝鑾峰彇鏂扮殑绾夸笂鐩戠淇℃伅浠ュ強绾夸笅宸℃煡鐩戠淇℃伅 onLocationChange(e) { this.setLocation(e); - this.fetchSupervision(); - this.fetchInspection(); + this._startLoad(); }, // 鏃堕棿鏇存敼 -- Gitblit v1.9.3