diff --git a/packages/wx-react/miniprogram_dist/AllComponent.js b/packages/wx-react/miniprogram_dist/AllComponent.js index b403833..d6efd23 100644 --- a/packages/wx-react/miniprogram_dist/AllComponent.js +++ b/packages/wx-react/miniprogram_dist/AllComponent.js @@ -114,6 +114,10 @@ export class BaseComponent { updaterList.push(styleUpdater) } + if (updaterList.length === 0) { + gpr() + return + } /// groupSetData 来优化多次setData const topWX = styleUpdater ? styleUpdater.inst : this.getWxInst()