<template>
  <m-rate v-model="value" @on-change="onChange"></m-rate>
</template>

<script setup>
import { ref } from 'vue-demi';
const value = ref(0);

const onChange = (value) => {
  console.log(value);
}
</script>