@zat-design/sisyphus-react 3.2.2-beta.5 → 3.2.2-beta.6
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/es/ProUpload/index.js +2 -2
- package/lib/ProUpload/index.js +2 -2
- package/package.json +1 -1
package/es/ProUpload/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
/*
|
|
9
9
|
* @Author: wangshengqiang
|
|
10
10
|
* @Date: 2023-02-03 14:18:59
|
|
11
|
-
* @LastEditTime: 2023-11-14 18:
|
|
11
|
+
* @LastEditTime: 2023-11-14 18:32:13
|
|
12
12
|
* @LastEditors: wangshengqiang
|
|
13
13
|
* @Description: 上传控件
|
|
14
14
|
*/
|
|
@@ -73,7 +73,7 @@ var ProUpload = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
73
73
|
distance: 10
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
var _ref = useProConfig('
|
|
76
|
+
var _ref = useProConfig('ProUpload') || {},
|
|
77
77
|
headers = _ref.headers;
|
|
78
78
|
residueProps.headers = _objectSpread(_objectSpread({}, headers), residueProps.headers);
|
|
79
79
|
var extExt = accept ? accept.split(',').map(function (i) {
|
package/lib/ProUpload/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var _excluded = ["value", "size", "action", "maxCount", "headerRender", "footerR
|
|
|
25
25
|
/*
|
|
26
26
|
* @Author: wangshengqiang
|
|
27
27
|
* @Date: 2023-02-03 14:18:59
|
|
28
|
-
* @LastEditTime: 2023-11-14 18:
|
|
28
|
+
* @LastEditTime: 2023-11-14 18:32:13
|
|
29
29
|
* @LastEditors: wangshengqiang
|
|
30
30
|
* @Description: 上传控件
|
|
31
31
|
*/
|
|
@@ -80,7 +80,7 @@ var ProUpload = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
80
80
|
distance: 10
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
|
-
var _ref = (0, _ProConfigProvider.useProConfig)('
|
|
83
|
+
var _ref = (0, _ProConfigProvider.useProConfig)('ProUpload') || {},
|
|
84
84
|
headers = _ref.headers;
|
|
85
85
|
residueProps.headers = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, headers), residueProps.headers);
|
|
86
86
|
var extExt = accept ? accept.split(',').map(function (i) {
|