|
@@ -10,16 +10,19 @@ export default defineComponent({
|
|
|
const query = this.$route.query
|
|
|
return {
|
|
|
showHeader: query.showHeader || '0',
|
|
|
+ type: query.type || '',
|
|
|
name: '管乐团'
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- if (state.platformType === 'SCHOOL') {
|
|
|
+ console.log(this.type, 'type')
|
|
|
+ if (state.platformType === 'SCHOOL' || this.type == 'school') {
|
|
|
this.name = '管乐团管理端'
|
|
|
- } else if (state.platformType === 'TEACHER') {
|
|
|
+ }
|
|
|
+ if (state.platformType === 'TEACHER' || this.type == 'teacher') {
|
|
|
this.name = '管乐团伴学端'
|
|
|
}
|
|
|
-
|
|
|
+ console.log(this.name)
|
|
|
document.title = this.name + '隐私协议'
|
|
|
},
|
|
|
render() {
|