sz-mx-cabin-yjb
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -132,3 +132,4 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
formdata[formkey] = moment(data[key][formkey]).format(_gs); | ||
var tempDate = new Date(data[key][formkey]); | ||
formdata[formkey] = _format(_gs, tempDate); | ||
console.log('useEffect------2', data[key][formkey], '-', moment(data[key][formkey]).format(_gs), '-', formdata); | ||
@@ -183,3 +184,4 @@ } else { | ||
values[key] = moment(values[key]).format(_gs2); | ||
var tempDate = new Date(values[key]); | ||
values[key] = _format2(_gs2, tempDate); | ||
console.log('onFieldsChangeEvent------12', values[key]); | ||
@@ -242,3 +244,5 @@ } | ||
formdata[formkey] = moment(data[_key][formkey]).format(_gs4); | ||
var _tempDate = new Date(data[_key][formkey]); | ||
formdata[formkey] = _format4(_gs4, _tempDate); | ||
console.log('onFieldsChangeEvent------22', data[_key][formkey], '-', moment(data[_key][formkey]).format(_gs4), '-', formdata); | ||
@@ -245,0 +249,0 @@ } else { |
@@ -153,3 +153,4 @@ "use strict"; | ||
formdata[formkey] = (0, _moment["default"])(data[key][formkey]).format(_gs); | ||
var tempDate = new Date(data[key][formkey]); | ||
formdata[formkey] = _format(_gs, tempDate); | ||
console.log('useEffect------2', data[key][formkey], '-', (0, _moment["default"])(data[key][formkey]).format(_gs), '-', formdata); | ||
@@ -204,3 +205,4 @@ } else { | ||
values[key] = (0, _moment["default"])(values[key]).format(_gs2); | ||
var tempDate = new Date(values[key]); | ||
values[key] = _format2(_gs2, tempDate); | ||
console.log('onFieldsChangeEvent------12', values[key]); | ||
@@ -263,3 +265,5 @@ } | ||
formdata[formkey] = (0, _moment["default"])(data[_key][formkey]).format(_gs4); | ||
var _tempDate = new Date(data[_key][formkey]); | ||
formdata[formkey] = _format4(_gs4, _tempDate); | ||
console.log('onFieldsChangeEvent------22', data[_key][formkey], '-', (0, _moment["default"])(data[_key][formkey]).format(_gs4), '-', formdata); | ||
@@ -266,0 +270,0 @@ } else { |
{ | ||
"name": "sz-mx-cabin-yjb", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "reactCabin", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
1215000
26205