Commit 72168b6c authored by Mac's avatar Mac

1

parent 3c31b0de
...@@ -39,6 +39,15 @@ ...@@ -39,6 +39,15 @@
console.log(options,'options') console.log(options,'options')
if(options && options.type){ if(options && options.type){
this.type = options.type this.type = options.type
if(this.type==1){
uni.setNavigationBarTitle({
title: this.pageTitle,
});
}else{
uni.setNavigationBarTitle({
title: '校园二维码',
});
}
this.init() this.init()
} }
}, },
...@@ -47,9 +56,7 @@ ...@@ -47,9 +56,7 @@
}, },
mounted() { mounted() {
uni.setNavigationBarTitle({
title: this.pageTitle,
});
}, },
methods: { methods: {
init(){ init(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment