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

🐛 [Bug]: vue3.4.26 select组件只能放一个Option,放多个报错 #1606

Open
zhongyii opened this issue May 1, 2024 · 7 comments
Open
Labels
bug Something isn't working

Comments

@zhongyii
Copy link

zhongyii commented May 1, 2024

Version

3.15.0

Vue Version

3.4.26

Link to minimal reproduction

const options = ref([
{ value: '选项1', label: '黄金糕', icon: iconFile() },
{ value: '选项2', label: '双皮奶', icon: iconFile() },
{ value: '选项3', label: '蚵仔煎', icon: iconFile() },
{ value: '选项4', label: '龙须面', icon: iconFile() },
{ value: '选项5', label: '北京烤鸭', icon: iconFile() }
])
报错runtime-core.esm-bundler.js:3160 Uncaught (in promise) TypeError: Cannot assign to read only property '__v_skip' of object '#'

Step to reproduce

报错runtime-core.esm-bundler.js:3160 Uncaught (in promise) TypeError: Cannot assign to read only property '__v_skip' of object '#'

What is expected

No response

What is actually happening

No response

What is your project name

test

Any additional comments (optional)

No response

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: vue3.4.26 select component can only put one Option, if you put multiple Option, an error will be reported

@kagol
Copy link
Member

kagol commented May 6, 2024

@zhongyii vue新版本有一些破坏性变更,请使用 [email protected] 及以下版本。

@kagol kagol added the bug Something isn't working label May 6, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


@zhongyii The new version of vue has some destructive changes, please use [email protected] and below.

@falcon-jin
Copy link
Contributor

这个问题预计什么时候能够修复啊

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


When is this problem expected to be fixed?

@shubinla
Copy link

shubinla commented Jun 7, 2024

@zhongyii vue新版本有一些破坏性变更,请使用 [email protected] 及以下版本。

试了下3.4.23及以下还是不行啊

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


@zhongyii The new version of vue has some destructive changes, please use [email protected] and below.

I tried 3.4.23 and below but it still doesn’t work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants