<template><amber-dropdownname="基础用法"@command="handleCommand"><amber-dropdown-itemcommand="a">Girl, you know I want your love</amber-dropdown-item><amber-dropdown-itemcommand="b">选项B</amber-dropdown-item><amber-dropdown-itemcommand="c">选项C</amber-dropdown-item><amber-dropdown-itemcommand="d">选项D</amber-dropdown-item></amber-dropdown></template><script>exportdefault{methods:{handleCommand(e){
console.log('dropdown value', e)}}}</script>