<template>
  <div class="test-page">
    <h1>测试页面</h1>
    <p>如果你能看到这个页面，说明Vue组件能正常渲染</p>
    <el-button type="primary" @click="testClick">测试按钮</el-button>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import { ElMessage } from 'element-plus'

const testClick = () => {
  ElMessage.success('按钮点击成功！')
}
</script>

<style scoped>
.test-page {
  padding: 50px;
  text-align: center;
  font-size: 18px;
}
</style>
