当使用 tree-config.transform 参数对树形数据进行转换时,如果转换逻辑不当,可能会破坏原有的 row.children 结构。例如,如果转换函数错误地修改了子节点的引用或删除了某些节点,那么 row.children 将无法正确反映转换后的数据结构。此外,如果转换函数没有保留或重建 row.children 属性,那么树形表格将无法正常渲染子节点...
可复现的链接: :row-config="{ isCurrent: true, keyField: 'id' }" :checkbox-config="{ labelField: 'name', checkRowKeys: demo.formData.menu }" :tree-config="{ transform: true, rowField: 'id', parentField: 'parent', expandRowKeys: [1] }" 问题描述与截图: ..
可复现的链接: https://codesandbox.io/s/vxe-table-4-x-vue-3-0-wen-ti-yan-shi-forked-0tdjsm?file=/src/views/Demo1.vue 问题描述与截图: In the codepen you will find 2 TreeTables. One with flat data with :tree-config="{ transform: true, rowField: 'id', pa..
``` 转换后循环依赖没有了。但是如果你尝试关掉 `optimization.providedExports` 或 `optimization.sideEffects`,构建会成功,但运行时会因为循环依赖而遇到错误。 上述循环依赖的例子可以在[这里](https://github.com/rspack-contrib/rspack-examples/tree/main/rspack/rspack/treeshaking-transform-imports)找到。Footer...
internal.put("transform-b", testVal2); writeYmlData(data, IMPORT_LOCATION_1, ""); Thread.sleep(1000); assertEquals(testVal / testVal2, testComponent.getTransformBySpEL()); double testVal3 = randomDouble(); internal.put("transform-b", testVal3); writeYmlData(data, IMPORT_LOCATION_1...
Why Since Metro uses non-deterministic IDs, we weren't including them in the file name hash. This led to a potential issue where if module names changed extensions or were rearranged during transform, then they would import the wrong file. How Include ev
Add docs about transform imports in sideEffects Remove useless removeAvailableModules option Need rspack-contrib/rspack-examples#49 Checklist Tests updated (or not required). Documentation updated (or not required). Sorry, something went wrong. docs: modify treeshaking sideEffects docs and remove remov...