element-plus/ssr-testing/cases/menu.vue
JeremyWuuuuu c2ecb3a773 test(ssr): add ssr testing cases
- Add more cases for running ssr tests
2022-03-18 16:53:37 +08:00

18 lines
524 B
Vue

<template>
<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal">
<el-menu-item index="1">Processing Center</el-menu-item>
<el-sub-menu index="2">
<template #title>Workspace</template>
<el-menu-item index="2-1">item one</el-menu-item>
</el-sub-menu>
<el-menu-item index="3" disabled>Info</el-menu-item>
<el-menu-item index="4">Orders</el-menu-item>
</el-menu>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
const activeIndex = ref('1')
</script>