提交 144c9b69 编写于 作者: Q qiang

fix: $listeners

上级 0b5210ed
<template>
<uni-editor
:id="id"
class="ql-container" />
class="ql-container"
v-on="$listeners" />
</template>
<script>
......
<template>
<uni-icon>
<uni-icon v-on="$listeners">
<i
:class="`uni-icon-${type}`"
:style="{'font-size': _converPx(size),'color': color}"
......
......@@ -182,12 +182,15 @@ export default {
this.length = (this.$slots.default && this.$slots.default.length) || 0
return createElement('uni-picker-view-column', {
on: {
wheel: this._handleWheel
on: this.$listeners
}
}, [
createElement('div', {
ref: 'main',
staticClass: 'uni-picker-view-group'
staticClass: 'uni-picker-view-group',
on: {
wheel: this._handleWheel
}
},
[
createElement('div', {
......
......@@ -617,11 +617,11 @@ export default {
}
return createElement(
'uni-swiper',
[createElement('div', {
ref: 'slidesWrapper',
'class': 'uni-swiper-wrapper',
'uni-swiper', {
on: this.$listeners
}, [createElement('div', {
ref: 'slidesWrapper',
'class': 'uni-swiper-wrapper'
}, slidesWrapperChild)]
)
}
......
<template>
<uni-picker @click.stop="_show">
<uni-picker
@click.stop="_show"
v-on="$listeners">
<slot />
</uni-picker>
</template>
......
<template>
<uni-web-view />
<uni-web-view v-on="$listeners"/>
</template>
<script>
import {
......
<template>
<uni-map :id="id">
<uni-map
:id="id"
v-on="$listeners">
<div
ref="map"
style="width: 100%; height: 100%; position: relative; overflow: hidden;" />
......
<template>
<uni-picker @click.stop="_show">
<uni-picker
@click.stop="_show"
v-on="$listeners">
<div
ref="picker"
class="uni-picker-container"
......
<template>
<uni-web-view />
<uni-web-view v-on="$listeners" />
</template>
<script>
export default {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册