feat(data): 历史数据页接入统计与历史接口,切换用户抽屉接真实成员

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-08-25 10:43:44 +08:00
co-authored by Claude Opus 4.7
parent 0fcb6eebef
commit 18704cbb76
7 changed files with 716 additions and 386 deletions
@@ -199,7 +199,7 @@ Page({
onLoad(options: Record<string, string | undefined>) {
const recordId = options.recordId || ''
const userInfo = (wx.getStorageSync('userInfo') || {}) as Record<string, any>
const userId = userInfo.userId || ''
const userId = options.userId || userInfo.userId || ''
this.fetchHistory(userId, recordId)
},