四个协议不展示问题
parent
fa6f571f61
commit
6843feebfa
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue