@kdcloudjs/table 1.2.0-canary.3 → 1.2.0-canary.4
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/@kdcloudjs/table.css +1 -1
- package/dist/@kdcloudjs/table.js +16 -1
- package/dist/@kdcloudjs/table.js.map +1 -1
- package/dist/@kdcloudjs/table.min.css +1 -1
- package/dist/@kdcloudjs/table.min.js +3 -3
- package/dist/@kdcloudjs/table.min.js.map +1 -1
- package/es/table/base/table.js +16 -1
- package/lib/table/base/table.js +16 -1
- package/package.json +1 -1
package/dist/@kdcloudjs/table.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/table v1.2.0-canary.
|
|
3
|
+
* @kdcloudjs/table v1.2.0-canary.3
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -4007,7 +4007,22 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
|
|
|
4007
4007
|
}, {
|
|
4008
4008
|
key: "componentDidUpdate",
|
|
4009
4009
|
value: function componentDidUpdate(prevProps, prevState) {
|
|
4010
|
+
var _this$props13;
|
|
4011
|
+
|
|
4010
4012
|
// console.log('did update start')
|
|
4013
|
+
var _this$props12 = this.props,
|
|
4014
|
+
cssVariables = _this$props12.cssVariables,
|
|
4015
|
+
enableCSSVariables = _this$props12.enableCSSVariables,
|
|
4016
|
+
bordered = _this$props12.bordered;
|
|
4017
|
+
|
|
4018
|
+
if (!Object(_utils__WEBPACK_IMPORTED_MODULE_39__["shallowEqual"])(prevProps === null || prevProps === void 0 ? void 0 : prevProps.cssVariables, (_this$props13 = this.props) === null || _this$props13 === void 0 ? void 0 : _this$props13.cssVariables)) {
|
|
4019
|
+
Object(_utils__WEBPACK_IMPORTED_MODULE_39__["cssPolifill"])({
|
|
4020
|
+
variables: cssVariables || {},
|
|
4021
|
+
enableCSSVariables: enableCSSVariables,
|
|
4022
|
+
bordered: bordered
|
|
4023
|
+
});
|
|
4024
|
+
}
|
|
4025
|
+
|
|
4011
4026
|
this.updateDOMHelper();
|
|
4012
4027
|
this.props$.next(this.props);
|
|
4013
4028
|
this.didMountOrUpdate(prevProps, prevState); // console.log('did update end')
|