vxe-table 3.11.6 → 3.11.7
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/es/style.css +1 -1
- package/es/table/src/methods.js +12 -9
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +15 -12
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +13 -10
- package/lib/table/src/methods.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/table/src/methods.ts +14 -9
- /package/es/{iconfont.1732514035419.ttf → iconfont.1732519193073.ttf} +0 -0
- /package/es/{iconfont.1732514035419.woff → iconfont.1732519193073.woff} +0 -0
- /package/es/{iconfont.1732514035419.woff2 → iconfont.1732519193073.woff2} +0 -0
- /package/lib/{iconfont.1732514035419.ttf → iconfont.1732519193073.ttf} +0 -0
- /package/lib/{iconfont.1732514035419.woff → iconfont.1732519193073.woff} +0 -0
- /package/lib/{iconfont.1732514035419.woff2 → iconfont.1732519193073.woff2} +0 -0
|
@@ -2506,16 +2506,21 @@ const Methods = {
|
|
|
2506
2506
|
* 支持 width=? width=?px width=?% min-width=? min-width=?px min-width=?%
|
|
2507
2507
|
*/
|
|
2508
2508
|
recalculate (reFull?: boolean) {
|
|
2509
|
-
|
|
2510
|
-
|
|
2509
|
+
return new Promise<void>(resolve => {
|
|
2510
|
+
const $xeTable = this
|
|
2511
|
+
const internalData = $xeTable
|
|
2511
2512
|
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2513
|
+
const { rceTimeout } = internalData
|
|
2514
|
+
if (rceTimeout) {
|
|
2515
|
+
clearTimeout(rceTimeout)
|
|
2516
|
+
$xeTable.$nextTick(() => {
|
|
2517
|
+
resolve()
|
|
2518
|
+
})
|
|
2519
|
+
} else {
|
|
2520
|
+
resolve(
|
|
2521
|
+
handleRecalculateLayout($xeTable, !!reFull)
|
|
2522
|
+
)
|
|
2523
|
+
}
|
|
2519
2524
|
internalData.rceTimeout = setTimeout(() => {
|
|
2520
2525
|
internalData.rceTimeout = undefined
|
|
2521
2526
|
resolve(handleRecalculateLayout($xeTable, !!reFull))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|