@zat-design/sisyphus-react 3.7.2-beta.1 → 3.7.2-beta.2

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.
@@ -188,7 +188,7 @@ export var useTransformColumns = function useTransformColumns(params) {
188
188
  // 响应式字段改变后的回调
189
189
  var changedCallback = function changedCallback(lastDependency, current) {
190
190
  // 清值防抖 多次刷新时以最后一次为准
191
- if (clearNotShow !== false) {
191
+ if (clearNotShow !== false && names) {
192
192
  if ((current === null || current === void 0 ? void 0 : current.show) === false) {
193
193
  clearInterval(timerRef.current[index]);
194
194
  timerRef.current[index] = setTimeout(function () {
@@ -195,7 +195,7 @@ var useTransformColumns = exports.useTransformColumns = function useTransformCol
195
195
  // 响应式字段改变后的回调
196
196
  var changedCallback = function changedCallback(lastDependency, current) {
197
197
  // 清值防抖 多次刷新时以最后一次为准
198
- if (clearNotShow !== false) {
198
+ if (clearNotShow !== false && names) {
199
199
  if ((current === null || current === void 0 ? void 0 : current.show) === false) {
200
200
  clearInterval(timerRef.current[index]);
201
201
  timerRef.current[index] = setTimeout(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.7.2-beta.1",
3
+ "version": "3.7.2-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",