tiny-vue_version0/examples/sites/demos/pc/app/action-menu/disabled-composition-api.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>