-
zhangwei
2025-03-05 16213c0f85aa3ac8317797bf4a05fd12940e16d3
src/uni_modules/uview-plus/components/u-action-sheet/u-action-sheet.vue
@@ -171,13 +171,13 @@
         closeHandler() {
            // 允许点击遮罩关闭时,才发出close事件
            if(this.closeOnClickOverlay) {
               this.$emit('update:show')
               this.$emit('update:show', false)
               this.$emit('close')
            }
         },
         // 点击取消按钮
         cancel() {
            this.$emit('update:show')
            this.$emit('update:show', false)
            this.$emit('close')
         },
         selectHandler(index) {
@@ -185,7 +185,7 @@
            if (item && !item.disabled && !item.loading) {
               this.$emit('select', item)
               if (this.closeOnClickAction) {
                  this.$emit('update:show')
                  this.$emit('update:show', false)
                  this.$emit('close')
               }
            }