Closed ezewu closed 11 months ago
"nuxt": "^3.8.2" "@ant-design-vue/nuxt": "^1.2.0"
app.vue里面添加
<script lang="ts" setup> const handleMessage = () => { message.info("This is a normal message"); }; </script> <template> <a-button @click="handleMessage"> button </a-button> </template>
点击按钮时,控制台会报一个错
包裹一层config-provider试一下
update 4.0.8
感谢
app.vue里面添加
点击按钮时,控制台会报一个错