From dd002905c7c510b13f3b954cff1f47eb0fa7479c Mon Sep 17 00:00:00 2001 From: ota-meshi Date: Fri, 12 Jul 2024 13:25:30 +0900 Subject: [PATCH] fix: error when update in vue-cheetah-grid --- packages/vue-cheetah-grid/lib/CGrid.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vue-cheetah-grid/lib/CGrid.vue b/packages/vue-cheetah-grid/lib/CGrid.vue index 09682507..a542c0cd 100644 --- a/packages/vue-cheetah-grid/lib/CGrid.vue +++ b/packages/vue-cheetah-grid/lib/CGrid.vue @@ -450,6 +450,7 @@ export default { frozenColCount (frozenColCount) { if (this.rawGrid) { this.rawGrid.frozenColCount = frozenColCount + this.$_CGrid_nextTickInvalidate() } }, allowRangePaste (allowRangePaste) { @@ -652,7 +653,7 @@ export default { this.rawGrid.layout = layout } this.rawGrid.theme = theme - this.rawGrid.$_CGrid_nextTickInvalidate() + this.$_CGrid_nextTickInvalidate() this._beforeGridProps = extend({}, gridProps) return }