fix(score): 修复评分详情页projectId传递问题

This commit is contained in:
DevOps
2025-12-31 16:48:17 +08:00
parent 90ee38a57b
commit a780ee6b2c
2 changed files with 2 additions and 0 deletions

View File

@@ -330,6 +330,7 @@ export default {
goToModify(player) { goToModify(player) {
const app = getApp() const app = getApp()
app.globalData.currentAthlete = player app.globalData.currentAthlete = player
app.globalData.currentProjectId = this.projectInfo.id
uni.navigateTo({ url: '/pages/modify-score/modify-score' }) uni.navigateTo({ url: '/pages/modify-score/modify-score' })
}, },

View File

@@ -380,6 +380,7 @@ export default {
goToScoreDetail(player) { goToScoreDetail(player) {
const app = getApp() const app = getApp()
app.globalData.currentAthlete = player app.globalData.currentAthlete = player
app.globalData.currentProjectId = this.projectInfo.id
uni.navigateTo({ url: '/pages/score-detail/score-detail' }) uni.navigateTo({ url: '/pages/score-detail/score-detail' })
}, },