mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
c2ecb3a773
- Add more cases for running ssr tests
18 lines
524 B
Vue
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>
|