hellof2e / quark-design

Browser-native component library, framework-agnostic, base on web components.(移动端 UI 组件库,无框架,即插即用。)
https://quark-ecosystem.github.io/quarkd-docs
MIT License
1.9k stars 189 forks source link

fix: test(tab/step) & docs example(checkbox/radio) #179

Closed thinkasany closed 1 year ago

thinkasany commented 1 year ago
  1. react 组件中 boolean 这种写法有错误
  2. tab / steps 中的 test被注释了看了一下是因为有一点错误 比如
    
    steps [direction=](direction: "vertical")
    this.direction === "vertical" ? "quark-vertical"
    所以 const step = el.shadowRoot.querySelector('.quark-steps'); 始终没有exist

已经将注释掉的代码修复并跑了一遍yarn test了,都是通过的哦