|
@@ -154,6 +154,7 @@ defineProps({
|
|
|
|
|
|
const showBall = ref(false)
|
|
const showBall = ref(false)
|
|
const showTeacherLogin = ref(false)
|
|
const showTeacherLogin = ref(false)
|
|
|
|
+const isSchool = localStorage.getItem('isSchool') ? true : false
|
|
|
|
|
|
// 获取老师注册信息
|
|
// 获取老师注册信息
|
|
const schoolInfo = ref({})
|
|
const schoolInfo = ref({})
|
|
@@ -161,7 +162,7 @@ const getSchoolInfo = async () => {
|
|
const data = await getSchoolInformation()
|
|
const data = await getSchoolInformation()
|
|
if (data && Object.keys(data).length > 0) {
|
|
if (data && Object.keys(data).length > 0) {
|
|
schoolInfo.value = data
|
|
schoolInfo.value = data
|
|
- showTeacherLogin.value = true
|
|
|
|
|
|
+ showTeacherLogin.value = isSchool ? false : true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|