import CipDropdown from '../../cip-dropdown' import { ElDropdownItem, ElDropdownMenu } from 'element-plus' export default { props: { modelValue: String }, emits: ['update:modelValue'], setup (props, { emit }) { const layoutOptions = ['standard', 'dark', 'light', 'data-center', 'smart-center'] const handlerCommand = (val) => { emit('update:modelValue', val) } return () => handlerCommand(val)}> {{ default: () => {props.modelValue}, dropdown: () => {layoutOptions.map(option => {option})} }} } }