时间选择器默认值的问题
显示的时候如果用下面的方式赋值将不会显示出来:
javascript
this.deviceFormData.time[0] = that.$filterArray.formatDatehh(start);
this.deviceFormData.time[1] = that.$filterArray.formatDateEnd(end);
实际上是有数据的,但是不会显示出来
如果用下面的方式就可以显示出来了
javascript
this.deviceFormData.time = [that.$filterArray.formatDatehh(start), that.$filterArray.formatDateEnd(end)]
页面回显
