提交 200f99cf 作者: 方治民

fix: 修复 picker 组件在没有显示时仍然意外的触发了 chanage 事件

上级 eaec7207
......@@ -1036,6 +1036,7 @@
}, 80)
},
pickerChange(e) {
if (!this.isShow) return
//1-年 2-年月 3-年月日 4-年月日 时 5-年月日 时分 6-时分 7-时分秒 8-分秒
let value = e.detail.value;
let type = Number(this.type)
......
......@@ -730,6 +730,7 @@
}, 50)
},
pickerChange(e) {
if (!this.isShow) return
let value = e.detail.value;
if (!this.isInitShow || value.length != this.layer) return;
if (this.linkage) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论