Commit 72168b6c authored by Mac's avatar Mac

1

parent 3c31b0de
......@@ -39,6 +39,15 @@
console.log(options,'options')
if(options && options.type){
this.type = options.type
if(this.type==1){
uni.setNavigationBarTitle({
title: this.pageTitle,
});
}else{
uni.setNavigationBarTitle({
title: '校园二维码',
});
}
this.init()
}
},
......@@ -47,9 +56,7 @@
},
mounted() {
uni.setNavigationBarTitle({
title: this.pageTitle,
});
},
methods: {
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