feat(data): 历史数据页接入统计与历史接口,切换用户抽屉接真实成员
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
0fcb6eebef
commit
18704cbb76
@@ -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)
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user