提交 df028eae 编写于 作者: X xzs02

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

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