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

vue 3.0, vuex 4.0 能否采用数组语法动态的给state设置,比如state[name] = value #1875

Closed
leeboo opened this issue Nov 17, 2020 · 1 comment

Comments

@leeboo
Copy link

leeboo commented Nov 17, 2020

目前会报警告:Write operation failed: computed value is readonly
但赋值是成功了的
有什么影响,能否消除这个警告

@vue-bot
Copy link

vue-bot commented Nov 17, 2020

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!


你好,你的 issue 不符合我们所要求的格式,因此已被自动关闭。为了确保每个 issue 都提供必需的相关信息,请务必使用我们的 Issue 向导 来创建新 issue,谢谢!

@vue-bot vue-bot closed this as completed Nov 17, 2020
@leeboo leeboo changed the title vue 3.0, vuex 4.0 能否动采用数组语法动态的给state设置,比如state[name] = value vue 3.0, vuex 4.0 能否采用数组语法动态的给state设置,比如state[name] = value Nov 17, 2020
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

No branches or pull requests

2 participants