venus-design 0.6.8 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,7 +71,7 @@ export declare const VENUS_FORM_EDIT_ITEM_VALUE: {
71
71
  [x: string]: {};
72
72
  };
73
73
  Select: (data: any, formItem: VenusFormItemInterface) => {
74
- [x: string]: {};
74
+ [x: string]: any;
75
75
  };
76
76
  CheckBoxInput: (data: any, formItem: VenusFormItemInterface) => {
77
77
  [x: string]: {};
@@ -317,12 +317,10 @@ export var VENUS_FORM_EDIT_ITEM_VALUE = {
317
317
  "Select": function Select(data, formItem) {
318
318
  var dataVal = data != null && data != undefined ? data : {};
319
319
  var dataValue = dataVal[formItem.fieldId];
320
- var dataDefaultValue = {};
320
+ var dataDefaultValue = dataValue;
321
321
  if (dataValue != undefined && dataValue.indexOf(",") > -1 && dataValue != "") {
322
322
  var input = dataValue.split(",");
323
323
  dataDefaultValue = input;
324
- } else {
325
- dataDefaultValue = [];
326
324
  }
327
325
  return _defineProperty({}, formItem.fieldId, dataDefaultValue);
328
326
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "venus-design",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "venus all compoments",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",