2022-04-21 18:20:39 +08:00
|
|
|
|
<script lang="ts" setup>
|
2022-04-22 12:47:04 +08:00
|
|
|
|
import SwitchRoles from "./components/SwitchRoles.vue"
|
2022-04-21 18:20:39 +08:00
|
|
|
|
</script>
|
2022-04-22 12:47:04 +08:00
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="app-container">
|
2024-02-07 10:32:53 +08:00
|
|
|
|
<SwitchRoles />
|
2024-11-28 14:44:27 +08:00
|
|
|
|
<el-card shadow="never" class="content">
|
|
|
|
|
当前页面只有「Admin」角色可见,切换角色后将不能进入该页面
|
|
|
|
|
</el-card>
|
2022-04-22 12:47:04 +08:00
|
|
|
|
</div>
|
|
|
|
|
</template>
|
2022-08-19 17:03:38 +08:00
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2024-11-28 14:44:27 +08:00
|
|
|
|
.content {
|
|
|
|
|
margin-top: 20px;
|
2022-08-19 17:03:38 +08:00
|
|
|
|
}
|
|
|
|
|
</style>
|