fix(score): 修复评分详情页projectId传递问题
This commit is contained in:
@@ -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' })
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -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' })
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user