fect-org / fect

Minimalist UI components built on Vue-next
https://www.fect-org.com
MIT License
362 stars 45 forks source link

[Fix]: remove switch component hasEmpty logic #218

Closed nonzzz closed 2 years ago

nonzzz commented 2 years ago

Checklist


Change information



 watchEffect(() => {
      if (props.value) {
        setCurrentValue(props.value)
      }
 })
codecov[bot] commented 2 years ago

Codecov Report

Merging #218 (afd4cd9) into master (67246f7) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #218   +/-   ##
=======================================
  Coverage   96.61%   96.61%           
=======================================
  Files         184      184           
  Lines        2068     2068           
  Branches      358      357    -1     
=======================================
  Hits         1998     1998           
  Misses         70       70           
Impacted Files Coverage Δ
packages/vue/src/switch/index.ts 100.00% <ø> (ø)
packages/vue/src/switch/switch.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 67246f7...afd4cd9. Read the comment docs.