页面标题

This commit is contained in:
shijingjing
2022-05-09 16:26:42 +08:00
parent f360453843
commit ebc94282cc

View File

@@ -253,9 +253,19 @@ export default {
name: "agreement", name: "agreement",
appName: "用户服务及隐私协议", appName: "用户服务及隐私协议",
data() { data() {
return {} return {
}
}, },
onShow() {
this.setNavbar()
},
methods: {
setNavbar() {
uni.setNavigationBarTitle({
title: '用户服务及隐私协议'
});
}
}
} }
</script> </script>