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-group互相影响 #272

Closed
CHENJIAMIAN opened this issue Jun 7, 2022 · 0 comments
Closed

两个radio-group互相影响 #272

CHENJIAMIAN opened this issue Jun 7, 2022 · 0 comments
Assignees
Milestone

Comments

@CHENJIAMIAN
Copy link

radio以name相同的为一组,而组件源码里name根据时间戳生成,太快了可能会生成相同的时间戳
name: {
    type: [String, Number],
    default () {
      let seed = 0;  const now = Date.now();   return `bk_radio_${now}_${seed++}`;
    }
  }
@ielgnaw ielgnaw self-assigned this Jun 7, 2022
@ielgnaw ielgnaw added this to the Y2022-M0609 milestone Jun 7, 2022
@ielgnaw ielgnaw closed this as completed Jun 8, 2022
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