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

radio 在第二次初始值为0 不会被选中 #361

Closed
ahua52 opened this issue Sep 27, 2019 · 1 comment
Closed

radio 在第二次初始值为0 不会被选中 #361

ahua52 opened this issue Sep 27, 2019 · 1 comment
Assignees

Comments

@ahua52
Copy link
Contributor

ahua52 commented Sep 27, 2019

环境及版本信息

  • tinper-bee 版本号:
  • 若使用单个组件,请标明该组件版本号:
  • 当前项目中react的版本号:
  • 所使用的操作系统:
  • 所使用的浏览器:

您所在的领域、行业或项目组:

描述这个问题:

1、代码

这radio的选项值

    options: [{ 'key': 1,'value':"是" }, { "key": 0 ,'value':"否"}],        

在第一次渲染初始值设置为0时 ’否‘会被选中
当做了数据处理 第二次渲染 让radio的初始值为0 是 否 都不会选中

2、报错信息

当前的行为:效果(可截图说明)及动作描述

期望的行为:

@yangchch6 yangchch6 self-assigned this Sep 30, 2019
@yangchch6
Copy link
Contributor

  • bee-radio@2.0.17
    • [Fixbug]解决 radio 在第二次初始值为0 不会被选中的问题。

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