vxe-table 3.13.31 → 3.13.33
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 +25 -25
- package/es/table/src/table.js +6 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +31 -27
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +25 -27
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +6 -0
- package/lib/table/src/table.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 +25 -25
- package/packages/table/src/table.ts +6 -0
- /package/es/{iconfont.1742437145943.ttf → iconfont.1743128840235.ttf} +0 -0
- /package/es/{iconfont.1742437145943.woff → iconfont.1743128840235.woff} +0 -0
- /package/es/{iconfont.1742437145943.woff2 → iconfont.1743128840235.woff2} +0 -0
- /package/lib/{iconfont.1742437145943.ttf → iconfont.1743128840235.ttf} +0 -0
- /package/lib/{iconfont.1742437145943.woff → iconfont.1743128840235.woff} +0 -0
- /package/lib/{iconfont.1742437145943.woff2 → iconfont.1743128840235.woff2} +0 -0
package/lib/table/src/methods.js
CHANGED
|
@@ -2028,10 +2028,8 @@ function parseColumns($xeTable, isReset) {
|
|
|
2028
2028
|
const props = $xeTable;
|
|
2029
2029
|
const reactData = $xeTable;
|
|
2030
2030
|
const internalData = $xeTable;
|
|
2031
|
-
const {
|
|
2032
|
-
|
|
2033
|
-
} = props;
|
|
2034
|
-
const rowOpts = $xeTable.computeRowOpts;
|
|
2031
|
+
// const { showOverflow } = props
|
|
2032
|
+
// const rowOpts = $xeTable.computeRowOpts
|
|
2035
2033
|
const leftList = [];
|
|
2036
2034
|
const centerList = [];
|
|
2037
2035
|
const rightList = [];
|
|
@@ -2108,28 +2106,28 @@ function parseColumns($xeTable, isReset) {
|
|
|
2108
2106
|
rightList
|
|
2109
2107
|
});
|
|
2110
2108
|
if (scrollXLoad) {
|
|
2111
|
-
if (showOverflow) {
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
}
|
|
2119
|
-
if (process.env.NODE_ENV === 'development') {
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
}
|
|
2109
|
+
// if (showOverflow) {
|
|
2110
|
+
// if (!rowOpts.height) {
|
|
2111
|
+
// const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
|
|
2112
|
+
// if (errColumn) {
|
|
2113
|
+
// errLog('vxe.error.errProp', [`column[field="${errColumn.field}"].show-overflow=false`, 'show-overflow=true'])
|
|
2114
|
+
// }
|
|
2115
|
+
// }
|
|
2116
|
+
// }
|
|
2117
|
+
// if (process.env.NODE_ENV === 'development') {
|
|
2118
|
+
// if (props.showHeader && !props.showHeaderOverflow) {
|
|
2119
|
+
// warnLog('vxe.error.reqProp', ['show-header-overflow'])
|
|
2120
|
+
// }
|
|
2121
|
+
// if (props.showFooter && !props.showFooterOverflow) {
|
|
2122
|
+
// warnLog('vxe.error.reqProp', ['show-footer-overflow'])
|
|
2123
|
+
// }
|
|
2124
|
+
if (props.spanMethod) {
|
|
2125
|
+
(0, _log.warnLog)('vxe.error.scrollErrProp', ['span-method']);
|
|
2126
|
+
}
|
|
2127
|
+
if (props.footerSpanMethod) {
|
|
2128
|
+
(0, _log.warnLog)('vxe.error.scrollErrProp', ['footer-span-method']);
|
|
2129
|
+
}
|
|
2130
|
+
// }
|
|
2133
2131
|
if (isReset) {
|
|
2134
2132
|
const {
|
|
2135
2133
|
visibleSize
|
|
@@ -9841,7 +9839,7 @@ const Methods = {
|
|
|
9841
9839
|
} = reactData;
|
|
9842
9840
|
const leftFixedWidth = $xeTable.computeLeftFixedWidth;
|
|
9843
9841
|
const rightFixedWidth = $xeTable.computeRightFixedWidth;
|
|
9844
|
-
if (!(
|
|
9842
|
+
if (!(leftFixedWidth || rightFixedWidth || expandColumn)) {
|
|
9845
9843
|
return;
|
|
9846
9844
|
}
|
|
9847
9845
|
const {
|