|
@@ -48,7 +48,7 @@ export default defineComponent({
|
|
|
return (
|
|
|
<div class={['text-center']}>
|
|
|
<h2 class="text-2xl font-semibold text-[#333] mb-6 flex flex-col items-center">
|
|
|
- {this.type ? '酷乐秀' : '注册成功'}
|
|
|
+ {this.type ? '酷乐秀' : '登录成功'}
|
|
|
<i class="w-12 h-1 bg-[#2DC7AA] inline-block leading-none rounded-sm mt-1"></i>
|
|
|
</h2>
|
|
|
|
|
@@ -89,8 +89,12 @@ export default defineComponent({
|
|
|
round
|
|
|
style={{ height: '48px' }}
|
|
|
onClick={() => {
|
|
|
- if (this.registerType == 'teacher') {
|
|
|
+ if (
|
|
|
+ this.registerType == 'teacher' &&
|
|
|
+ state.user.data.entryFlag !== 1
|
|
|
+ ) {
|
|
|
// this.type = 'teacher-auth'
|
|
|
+
|
|
|
this.onTypeChange('teacher-auth')
|
|
|
} else {
|
|
|
this.onClose()
|