[Vuejs]-How to distinguish the Dropdown item event?

1👍

The value ‘a’ will be assigned to the variable command inside the handleCommand method. You should use the comparison command === 'a' inside the if statement.

Leave a comment