<template>
  <div class="demo-input-enter">
    <ui-input
      v-model="value"
      placeholder="enter事件请查看console"
      @enter="enter"></ui-input>
  </div>
</template>

<script>
import { Input } from "amumu-ui"
export default {
  components: {
    "ui-input": Input,
  },
  data() {
    return {
      value: "",
    }
  },
  methods: {
    enter() {
      console.log("enter")
    },
  },
}
</script>
