在vue3使用v-bind,会导致莫名其妙的报错。不知道什么原因
<script setup>
const props = defineProps({
options:{
type:Object,
default:() => ({})
}
})
</script>
<template>
<button
v-bind="options"
>
<slot></slot>
</button>
</template>