提交 df028eae 编写于 作者: X xzs02

fix: 解决picker组件columnchange事件和change事件错乱的问题

上级 699b41f2
......@@ -132,7 +132,6 @@ export default {
render (createElement) {
this.length = (this.$slots.default && this.$slots.default.length) || 0
return createElement('uni-picker-view-column', {
staticClass: '_picker-view-column',
on: {
tap: this._handleTap
}
......
......@@ -107,10 +107,6 @@ export default {
disabled: {
type: [Boolean, String],
default: false
},
customItem: {
type: String,
default: ''
}
},
data () {
......@@ -205,7 +201,7 @@ export default {
}
},
columnchange (args) {
this.$trigger('change', {}, args)
this.$trigger('columnchange', {}, args)
},
cancel (args) {
this.visible = false
......
......@@ -130,10 +130,6 @@ export default {
type: [Boolean, String],
default: false
},
customItem: {
type: String,
default: ''
},
visible: {
type: Boolean,
default: false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册