import CipDropdown from '../../cip-dropdown' import { ElDropdownItem, ElDropdownMenu } from 'element-plus' export default { props: { modelValue: String }, emits: ['update:modelValue'], setup (props, { emit }) { const layoutOptions = ['left', 'left-2', 'top', 'top-left'] const handlerCommand = (val) => { emit('update:modelValue', val) } return () => handlerCommand(val)} popperClass='cip-nav-layout'> {{ default: () => `${props.modelValue}`, dropdown: () => {layoutOptions.map(option => {option})} }} } }