@kmkf-fe-packages/basic-components 1.21.11-beta.4 → 1.22.1-beta.0

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
@@ -948,7 +948,7 @@ var ApaasUploadAsync = function ApaasUploadAsync(_ref, ref) {
948
948
  _ref$actionUrl = _ref.actionUrl,
949
949
  actionUrl = _ref$actionUrl === void 0 ? '/qy/common/uploadWorkOrderImg' : _ref$actionUrl,
950
950
  _ref$platform = _ref.platform,
951
- platform = _ref$platform === void 0 ? "" : _ref$platform,
951
+ platform = _ref$platform === void 0 ? '' : _ref$platform,
952
952
  resetProps = _objectWithoutProperties(_ref, _excluded$6);
953
953
  var inputRef = useRef(null);
954
954
  var valueRef = useRef(value);
@@ -962,7 +962,7 @@ var ApaasUploadAsync = function ApaasUploadAsync(_ref, ref) {
962
962
  setPasteDefaultStates = _useState4[1];
963
963
  var preview = platform === 'ks' ? {
964
964
  getContainer: (_document = document) === null || _document === void 0 ? void 0 : _document.getElementById('root')
965
- } : false;
965
+ } : true;
966
966
  useEffect(function () {
967
967
  valueRef.current = value;
968
968
  }, [value]);
package/dist/index.js CHANGED
@@ -960,7 +960,7 @@ var ApaasUploadAsync = function ApaasUploadAsync(_ref, ref) {
960
960
  _ref$actionUrl = _ref.actionUrl,
961
961
  actionUrl = _ref$actionUrl === void 0 ? '/qy/common/uploadWorkOrderImg' : _ref$actionUrl,
962
962
  _ref$platform = _ref.platform,
963
- platform = _ref$platform === void 0 ? "" : _ref$platform,
963
+ platform = _ref$platform === void 0 ? '' : _ref$platform,
964
964
  resetProps = _objectWithoutProperties(_ref, _excluded$6);
965
965
  var inputRef = React.useRef(null);
966
966
  var valueRef = React.useRef(value);
@@ -974,7 +974,7 @@ var ApaasUploadAsync = function ApaasUploadAsync(_ref, ref) {
974
974
  setPasteDefaultStates = _useState4[1];
975
975
  var preview = platform === 'ks' ? {
976
976
  getContainer: (_document = document) === null || _document === void 0 ? void 0 : _document.getElementById('root')
977
- } : false;
977
+ } : true;
978
978
  React.useEffect(function () {
979
979
  valueRef.current = value;
980
980
  }, [value]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "1.21.11-beta.4",
3
+ "version": "1.22.1-beta.0",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/kmkf-utils": "1.21.11-beta.4",
23
+ "@kmkf-fe-packages/kmkf-utils": "1.22.1-beta.0",
24
24
  "ahooks": "^3.7.4",
25
25
  "bignumber.js": "^9.1.2",
26
26
  "kmkf-monitor": "^0.8.9",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "77b80fc40a3c4ab6673b5a4d68cd91e5d6e9f9d8"
68
+ "gitHead": "0fe6eb2f00f1a864386cb87e5a1494cb6564fcae"
69
69
  }