File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/uni_modules/wot-design-uni/components/wd-action-sheet Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 4242 }
4343}
4444
45- :deep(.wd-action-sheet__popup ){
45+ :deep(.wd-action-sheet__popup ) {
4646 border-radius : $-action-sheet-radius $-action-sheet-radius 0 0 ;
4747}
4848
7878 display : none ;
7979 }
8080
81- & :active {
81+ & :not (&--disabled) :not (&--loading) : active {
8282 background : $-action-sheet-active-color ;
8383 }
8484
8585 @include m (disabled ) {
8686 color : $-action-sheet-disabled-color ;
87+ cursor : not-allowed ;
8788 }
8889
8990 @include m (loading) {
Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ function computedValue() {
101101
102102function select(rowIndex : number , type : ' action' | ' panels' , colIndex ? : number ) {
103103 if (type === ' action' ) {
104+ if (props .actions [rowIndex ].disabled || props .actions [rowIndex ].loading ) {
105+ return
106+ }
104107 emit (' select' , {
105108 item: props .actions [rowIndex ],
106109 index: rowIndex
You can’t perform that action at this time.
0 commit comments