瀏覽代碼

[producer] Correctif bug affichage iPhone

refactoring
Guillaume 4 年之前
父節點
當前提交
b124e176b7
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      producer/web/js/vuejs/order-order.js

+ 1
- 0
producer/web/js/vuejs/order-order.js 查看文件

@@ -216,6 +216,7 @@ var app = new Vue({
var dateStr = event.currentTarget.getAttribute('data-distribution-date') ;
var arr = dateStr.split(/[- :]/),
dateObject = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]);
console.log(dateObject) ;
//var dateObject = new Date(dateStr) ;
if(this.isAvailableDate(dateObject)) {
this.dayClickEvent(dateObject) ;

Loading…
取消
儲存