修复权限验证问题:普通用户无法访问后台管理页面

This commit is contained in:
AIGC Developer
2025-10-23 09:59:54 +08:00
parent a294f61f3c
commit 08b737b1ef
59 changed files with 3586 additions and 607 deletions

View File

@@ -0,0 +1,50 @@
<template>
<div class="basic-test">
<h1>基础测试页面</h1>
<p>这个页面不使用任何Element Plus图标</p>
<button @click="testClick">测试按钮</button>
<div class="test-content">
<p>如果你能看到这个内容说明Vue组件能正常渲染</p>
</div>
</div>
</template>
<script setup>
import { ref } from 'vue'
const testClick = () => {
alert('按钮点击成功Vue工作正常')
}
</script>
<style scoped>
.basic-test {
padding: 50px;
text-align: center;
font-size: 18px;
background-color: #f5f5f5;
min-height: 100vh;
}
.test-content {
margin-top: 20px;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
button {
padding: 10px 20px;
font-size: 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
</style>