forked from opentiny/tiny-vue
Co-authored-by: RanierYu <whylost@aliyu.com>
This commit is contained in:
parent
f42012cb1e
commit
cca1a5eab4
|
@ -89,4 +89,6 @@ describe('PC Mode', () => {
|
||||||
test.todo('drag-move 拖拽移动事件')
|
test.todo('drag-move 拖拽移动事件')
|
||||||
|
|
||||||
test.todo('drag-end 拖拽结束事件')
|
test.todo('drag-end 拖拽结束事件')
|
||||||
|
|
||||||
|
test.todo('可拖拽的弹窗关闭时只触发关闭事件(close),不应触发拖拽结束事件(drag-end)')
|
||||||
})
|
})
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
class="tiny-dialog-box__headerbtn"
|
class="tiny-dialog-box__headerbtn"
|
||||||
aria-label="Close"
|
aria-label="Close"
|
||||||
@click="handleClose('close', $event)"
|
@click="handleClose('close', $event)"
|
||||||
|
@mousedown.stop
|
||||||
>
|
>
|
||||||
<icon-close class="tiny-svg-size tiny-dialog-box__close" />
|
<icon-close class="tiny-svg-size tiny-dialog-box__close" />
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue