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

View File

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

View File

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

View File

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