add touch
parent
e8337c5d5f
commit
5fc268983d
|
@ -518,11 +518,11 @@ export default {
|
||||||
if (this.isClickToHide() || this.isClickToShow()) {
|
if (this.isClickToHide() || this.isClickToShow()) {
|
||||||
newChildProps.on.click = this.onClick
|
newChildProps.on.click = this.onClick
|
||||||
newChildProps.on.mousedown = this.onMousedown
|
newChildProps.on.mousedown = this.onMousedown
|
||||||
// newChildProps.on.touchstart = this.onTouchstart
|
newChildProps.on.touchstart = this.onTouchstart
|
||||||
} else {
|
} else {
|
||||||
newChildProps.on.click = this.createTwoChains('click')
|
newChildProps.on.click = this.createTwoChains('click')
|
||||||
newChildProps.on.mousedown = this.createTwoChains('mousedown')
|
newChildProps.on.mousedown = this.createTwoChains('mousedown')
|
||||||
// newChildProps.on.touchstart = this.createTwoChains('onTouchstart')
|
newChildProps.on.touchstart = this.createTwoChains('onTouchstart')
|
||||||
}
|
}
|
||||||
if (this.isMouseEnterToShow()) {
|
if (this.isMouseEnterToShow()) {
|
||||||
newChildProps.on.mouseenter = this.onMouseenter
|
newChildProps.on.mouseenter = this.onMouseenter
|
||||||
|
|
Loading…
Reference in New Issue