Skip to content

Commit

Permalink
更新 setNavigationBar 示例 value 值的获取方式
Browse files Browse the repository at this point in the history
  • Loading branch information
hulinNeil committed Nov 12, 2018
1 parent 643fe8e commit cc69832
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
methods: {
setNaivgationBarTitle: function (e) {
var title = e.target.value.title
let title = e.detail.value.title
uni.setNavigationBarTitle({
title: title,
success: () => {
Expand All @@ -45,4 +45,4 @@
}
}
</script>


0 comments on commit cc69832

Please sign in to comment.