Skip to content

Commit

Permalink
修改设置title的接收key
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcuijuan committed Dec 9, 2024
1 parent fe1fff7 commit 081d50c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function setNavigationBarTitle (options = {}) {
failHandle({ errMsg: 'setNavigationBarTitle:fail' }, fail, complete)
} else {
nextTick(() => {
navigation.setOptions({ headerTitle: title })
navigation.setOptions({ title })
successHandle({ errMsg: 'setNavigationBarTitle:ok' }, success, complete)
})
}
Expand Down

0 comments on commit 081d50c

Please sign in to comment.