32 lines
517 B
Vue
32 lines
517 B
Vue
<template>
|
|
<tiny-action-menu :options="options"> </tiny-action-menu>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
import { ActionMenu as TinyActionMenu } from '@opentiny/vue'
|
|
|
|
const options = ref([
|
|
{
|
|
label: '远程登陆'
|
|
},
|
|
{
|
|
label: '开机',
|
|
disabled: true
|
|
},
|
|
{
|
|
label: '关机'
|
|
},
|
|
{
|
|
label: '重启'
|
|
},
|
|
{
|
|
label: '网络设置',
|
|
children: [
|
|
{ label: '更改安全组', disabled: true },
|
|
{ label: '切换VPC', divided: true }
|
|
]
|
|
}
|
|
])
|
|
</script>
|