New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sz-mx-cabin-yjb

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sz-mx-cabin-yjb - npm Package Compare versions

Comparing version 0.0.39 to 0.0.40

13

es/widgets/form/Form.js

@@ -109,3 +109,3 @@ 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] = data[key][formkey][0];
data[name] = [].push(data[key][formkey]);
newDataLoad[formkey] = [].push(data[key][formkey]);
}

@@ -116,3 +116,3 @@ }

formdata[formkey] = Number(data[key][formkey]);
data[name] = data[key][formkey];
newDataLoad[formkey] = data[key][formkey];
}

@@ -123,3 +123,3 @@

formdata[formkey] = moment(data[key][formkey]).format(format);
data[name] = new Date(Date.parse(data[key][formkey]));
newDataLoad[formkey] = new Date(Date.parse(data[key][formkey]));
}

@@ -160,5 +160,8 @@

sessionStorage.setItem('data', JSON.stringify(newdata)); // 数据初始化
sessionStorage.setItem('data', JSON.stringify(newdata));
console.log('看看这玩意?????', newDataLoad); // 数据初始化
formInstance.setFieldsValue(_extends({}, data[name]));
formInstance.setFieldsValue({// ...data[name],
// ...newDataLoad,
});
}, [data]);

@@ -165,0 +168,0 @@

@@ -130,3 +130,3 @@ "use strict";

formdata[formkey] = data[key][formkey][0];
data[name] = [].push(data[key][formkey]);
newDataLoad[formkey] = [].push(data[key][formkey]);
}

@@ -137,3 +137,3 @@ }

formdata[formkey] = Number(data[key][formkey]);
data[name] = data[key][formkey];
newDataLoad[formkey] = data[key][formkey];
}

@@ -144,3 +144,3 @@

formdata[formkey] = (0, _moment["default"])(data[key][formkey]).format(format);
data[name] = new Date(Date.parse(data[key][formkey]));
newDataLoad[formkey] = new Date(Date.parse(data[key][formkey]));
}

@@ -181,5 +181,8 @@

sessionStorage.setItem('data', JSON.stringify(newdata)); // 数据初始化
sessionStorage.setItem('data', JSON.stringify(newdata));
console.log('看看这玩意?????', newDataLoad); // 数据初始化
formInstance.setFieldsValue(_extends({}, data[name]));
formInstance.setFieldsValue({// ...data[name],
// ...newDataLoad,
});
}, [data]);

@@ -186,0 +189,0 @@

{
"name": "sz-mx-cabin-yjb",
"version": "0.0.39",
"version": "0.0.40",
"description": "reactCabin",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc