init 签到

This commit is contained in:
yuping
2023-01-12 16:12:17 +08:00
parent 4ecd510bed
commit bdb0fb1759
4 changed files with 16 additions and 8 deletions

View File

@@ -5,11 +5,13 @@
sub-title="请联系管理员"
>
<template #extra>
<el-button type="primary">返回首页</el-button>
<el-button type="primary" @click="toIndex">返回首页</el-button>
</template>
</el-result>
</template>
<script setup>
function toIndex(){
window.location.href = import.meta.env.VITE_BOE_API_URL
}
</script>

View File

@@ -5,11 +5,13 @@
sub-title="您已经签到成功"
>
<template #extra>
<el-button type="primary">返回首页</el-button>
<el-button type="primary" @click="toIndex">返回首页</el-button>
</template>
</el-result>
</template>
<script setup>
function toIndex(){
window.location.href = import.meta.env.VITE_BOE_API_URL
}
</script>

View File

@@ -5,11 +5,13 @@
sub-title="您不在此课程中"
>
<template #extra>
<el-button type="primary">返回首页</el-button>
<el-button type="primary" @click="toIndex">返回首页</el-button>
</template>
</el-result>
</template>
<script setup>
function toIndex(){
window.location.href = import.meta.env.VITE_BOE_API_URL
}
</script>

View File

@@ -5,11 +5,13 @@
sub-title="您已经签到成功"
>
<template #extra>
<el-button type="primary">返回首页</el-button>
<el-button type="primary" @click="toIndex">返回首页</el-button>
</template>
</el-result>
</template>
<script setup>
function toIndex(){
window.location.href = import.meta.env.VITE_BOE_API_URL
}
</script>