@bit-sun/business-component 1.0.13 → 1.0.14

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.
package/dist/index.esm.js CHANGED
@@ -2052,7 +2052,11 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
2052
2052
  id: "item-0".concat(index),
2053
2053
  content: mapping.get(item),
2054
2054
  code: item,
2055
- type: "string"
2055
+ "ct": {
2056
+ "fa": "General",
2057
+ "t": "s" //格式类型为数字类型
2058
+
2059
+ }
2056
2060
  };
2057
2061
  });
2058
2062
  _this.state = {
package/dist/index.js CHANGED
@@ -2062,7 +2062,11 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
2062
2062
  id: "item-0".concat(index),
2063
2063
  content: mapping.get(item),
2064
2064
  code: item,
2065
- type: "string"
2065
+ "ct": {
2066
+ "fa": "General",
2067
+ "t": "s" //格式类型为数字类型
2068
+
2069
+ }
2066
2070
  };
2067
2071
  });
2068
2072
  _this.state = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -106,7 +106,10 @@ class DataValidation extends React.Component {
106
106
  id: `item-0${index}`,
107
107
  content: mapping.get(item),
108
108
  code: item,
109
- type: "string"
109
+ "ct": { //单元格值格式
110
+ "fa": "General", //格式名称为自动格式
111
+ "t": "s" //格式类型为数字类型
112
+ }
110
113
  };
111
114
  });
112
115