mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-07 01:46:45 +08:00
二维码修改
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<el-result icon="success" title="二维码已失效">
|
<el-result icon="success" :title="title">
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -18,4 +18,14 @@ function toIndex() {
|
|||||||
window.location.href =
|
window.location.href =
|
||||||
window.location.protocol + import.meta.env.VITE_BOE_HOME;
|
window.location.protocol + import.meta.env.VITE_BOE_HOME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
// 接收跳转请求的query参数
|
||||||
|
let route = useRoute();
|
||||||
|
console.log(route.query.msg);
|
||||||
|
if (route.query.msg) {
|
||||||
|
title.value = route.query.msg;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user