未验证 提交 cc698324 编写于 作者: H hulin 提交者: GitHub

更新 setNavigationBar 示例 value 值的获取方式

上级 643fe8ea
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
}, },
methods: { methods: {
setNaivgationBarTitle: function (e) { setNaivgationBarTitle: function (e) {
var title = e.target.value.title let title = e.detail.value.title
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: title, title: title,
success: () => { success: () => {
...@@ -45,4 +45,4 @@ ...@@ -45,4 +45,4 @@
} }
} }
</script> </script>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册