浏览代码

bug修改

Signed-off-by: lijunqing <lijunqing@dashoo.cn>
lijunqing 6 年之前
父节点
当前提交
f4309ac5e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/techlist.vue

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/techlist.vue

@@ -775,7 +775,7 @@
         }
         let myCreateOn = []
         // 解析时间
-        if (this.CreateOn.length == 2) {
+        if (this.CreateOn && this.CreateOn.length == 2) {
           this.CreateOn[1].setHours(23)
           this.CreateOn[1].setMinutes(59)
           this.CreateOn[1].setSeconds(59)