Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read properties of undefined (reading 'value') #28

Closed
ezewu opened this issue Dec 10, 2023 · 3 comments
Closed

Comments

@ezewu
Copy link

ezewu commented Dec 10, 2023

"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>

点击按钮时,控制台会报一个错
image

@aibayanyu20
Copy link
Member

包裹一层config-provider试一下

@aibayanyu20
Copy link
Member

update 4.0.8

@ezewu
Copy link
Author

ezewu commented Apr 25, 2024

感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants