Skip to content

Commit

Permalink
fix: 增加button unclickable的限制 (#390)
Browse files Browse the repository at this point in the history
Co-authored-by: boxcc <[email protected]>
  • Loading branch information
boxcc and boxcc authored Oct 28, 2022
1 parent 250ab14 commit 51e1571
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/vantui/src/button/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,12 @@ taro-button-core[loading] .weui-loading {
filter: brightness(0.9);
}

&--unclickable::after {
display: none;
&--unclickable {
pointer-events: none;

&::after {
display: none;
}
}
}

Expand Down

0 comments on commit 51e1571

Please sign in to comment.