evui 3.4.46 → 3.4.47
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/package.json
CHANGED
|
@@ -197,7 +197,7 @@ export const resizeEvent = (params) => {
|
|
|
197
197
|
}
|
|
198
198
|
columnWidth = resizeInfo.columnWidth;
|
|
199
199
|
let remainWidth = 0;
|
|
200
|
-
if (resizeInfo.adjust) {
|
|
200
|
+
if (resizeInfo.adjust && elementInfo.body) {
|
|
201
201
|
const bodyEl = elementInfo.body;
|
|
202
202
|
let elWidth = bodyEl.offsetWidth;
|
|
203
203
|
const elHeight = bodyEl.offsetHeight;
|