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

nuxt3中使用select多选框,点击选项有js报错 #7362

Closed
1 task
robertyclin opened this issue Feb 21, 2024 · 4 comments · Fixed by #7377
Closed
1 task

nuxt3中使用select多选框,点击选项有js报错 #7362

robertyclin opened this issue Feb 21, 2024 · 4 comments · Fixed by #7377

Comments

@robertyclin
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.1.0

Environment

nuxt3.10.2, vue3.4.19,chrome119

Reproduction link

https://antdv.com/docs/vue/introduce-cn

Steps to reproduce

app.vue页面里面直接复制一份官网的demo例子,点击选项就报错了,弹窗也关闭不了,非nuxt项目虽然有报错,但是能正常选中

<script lang="ts" setup> import { ref } from 'vue'; const handleChange = (value: string[]) => { console.log(`selected ${value}`); }; const value = ref(['a1', 'b2']); </script>

What is expected?

能正常选中和关闭弹窗

What is actually happening?

报错

@trylovetom
Copy link

trylovetom commented Feb 21, 2024

same here vueComponent/ant-design-vue-nuxt#41, this is a reproduction

Kapture.2024-02-20.at.19.17.28.mp4

@ankeycheng
Copy link

ankeycheng commented Feb 21, 2024

cascader 组件也出现了相似的问题 #7321

@YvesChen
Copy link

YvesChen commented Mar 5, 2024

bug挺致命的,请问题主解决了吗,😢有解决方案吗?
image

@kasuie
Copy link

kasuie commented Mar 8, 2024

bug挺致命的,请问题主解决了吗,😢有解决方案吗? image

可以看看这里的方法:vueComponent/ant-design-vue-nuxt#41 (comment)

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.

5 participants