lemon橪 2022-12-26 15:07:27 +08:00
commit 9127d61a59
1 changed files with 5 additions and 4 deletions

View File

@ -11,19 +11,19 @@ export default {
return { return {
res: "", res: "",
way: { way: {
user: { USER_AGREEMENT: {
title: "服务协议", title: "服务协议",
type: "USER_AGREEMENT", type: "USER_AGREEMENT",
}, },
privacy: { PRIVACY_POLICY: {
title: "隐私政策", title: "隐私政策",
type: "PRIVACY_POLICY", type: "PRIVACY_POLICY",
}, },
message: { LICENSE_INFORMATION: {
title: "证照信息", title: "证照信息",
type: "LICENSE_INFORMATION", type: "LICENSE_INFORMATION",
}, },
about: { ABOUT: {
title: "关于我们", title: "关于我们",
type: "ABOUT", type: "ABOUT",
}, },
@ -32,6 +32,7 @@ export default {
}, },
mounted() {}, mounted() {},
onLoad(option) { onLoad(option) {
console.log(this.way)
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: this.way[option.type].title, title: this.way[option.type].title,
}); });