@zscreate/zhxy-app-component 1.0.93-table-app.21 → 1.0.93-table-app.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -604,6 +604,9 @@ export default {
|
|
|
604
604
|
}
|
|
605
605
|
return '请选择'
|
|
606
606
|
}
|
|
607
|
+
if (widget.options.type === 'week' ) {
|
|
608
|
+
return dataModel
|
|
609
|
+
}
|
|
607
610
|
if (widget.type === 'date' && widget.options.format) {
|
|
608
611
|
return moment(dataModel).format(widget.options.format)
|
|
609
612
|
}
|
|
@@ -835,6 +838,7 @@ export default {
|
|
|
835
838
|
},
|
|
836
839
|
showTime(picker, index) {
|
|
837
840
|
if (!picker || this.widget.options.disabled) return;
|
|
841
|
+
this.$refs[picker].value = Array.isArray(this.dataModel) ? this.dataModel[index] : this.dataModel
|
|
838
842
|
this.$refs[picker].show(index);
|
|
839
843
|
},
|
|
840
844
|
//时间 日期清除
|