0
点赞
收藏
分享

微信扫一扫

SQLITE3 函数接口

乐百川 2023-11-01 阅读 43

时间选择器默认值的问题

显示的时候如果用下面的方式赋值将不会显示出来:

  this.deviceFormData.time[0] = that.$filterArray.formatDatehh(start);
  this.deviceFormData.time[1] = that.$filterArray.formatDateEnd(end);

实际上是有数据的,但是不会显示出来

如果用下面的方式就可以显示出来了

 this.deviceFormData.time = [that.$filterArray.formatDatehh(start), that.$filterArray.formatDateEnd(end)]

页面回显

在这里插入图片描述

举报

相关推荐

0 条评论