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

组件的setDateStyle不生效,源码里面有误 #490

Open
gaofeng222 opened this issue Oct 25, 2022 · 0 comments
Open

组件的setDateStyle不生效,源码里面有误 #490

gaofeng222 opened this issue Oct 25, 2022 · 0 comments
Assignees
Labels

Comments

@gaofeng222
Copy link

BUG描述

image
这个配置是不生效的

  arr.forEach(ele => {
          let item = ele.split('-')
          dataStyleLists.push({
            year: item[0],
            month: item[1],
            day: item[2],   //文档里面写的date,不生效
            class: className // 页面定义的 class,多个 class 由空格隔开
          })
        })
        this.calendar.setDateStyle(dataStyleLists)

结果改了这里,就可以使用了
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants