vxe-table 3.17.9 → 3.17.10
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/components.js +1 -1
- package/es/grid/src/grid.js +5 -4
- package/es/style.css +1 -1
- package/es/table/src/body.js +3 -3
- package/es/table/src/footer.js +1 -1
- package/es/table/src/header.js +2 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/components.js +17 -18
- package/lib/components.min.js +1 -1
- package/lib/grid/src/grid.js +5 -25
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +13 -32
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/body.js +3 -2
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/footer.js +1 -1
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +3 -2
- package/lib/table/src/header.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/components.ts +1 -1
- package/packages/grid/src/grid.ts +25 -23
- package/packages/table/src/body.ts +3 -3
- package/packages/table/src/footer.ts +1 -1
- package/packages/table/src/header.ts +2 -2
- /package/es/{iconfont.1755066349013.ttf → iconfont.1755133667514.ttf} +0 -0
- /package/es/{iconfont.1755066349013.woff → iconfont.1755133667514.woff} +0 -0
- /package/es/{iconfont.1755066349013.woff2 → iconfont.1755133667514.woff2} +0 -0
- /package/lib/{iconfont.1755066349013.ttf → iconfont.1755133667514.ttf} +0 -0
- /package/lib/{iconfont.1755066349013.woff → iconfont.1755133667514.woff} +0 -0
- /package/lib/{iconfont.1755066349013.woff2 → iconfont.1755133667514.woff2} +0 -0
package/es/components.js
CHANGED
package/es/grid/src/grid.js
CHANGED
|
@@ -47,9 +47,7 @@ export default {
|
|
|
47
47
|
mixins: [
|
|
48
48
|
globalMixins.sizeMixin
|
|
49
49
|
],
|
|
50
|
-
props: Object.assign(Object.assign({
|
|
51
|
-
// 以下仅用于类型
|
|
52
|
-
round: { type: Boolean, default: () => getConfig().table.round }, height: [Number, String], minHeight: { type: [Number, String], default: () => getConfig().table.minHeight }, maxHeight: [Number, String], seqConfig: Object, sortConfig: Object, filterConfig: Object, editConfig: [Boolean, Object], loading: Boolean, validConfig: Object, editRules: Object, animat: { type: Boolean, default: () => getConfig().table.animat } }, tableProps), { layouts: Array, columns: Array, pagerConfig: Object, proxyConfig: Object, toolbarConfig: Object, formConfig: Object, zoomConfig: Object, size: {
|
|
50
|
+
props: Object.assign(Object.assign({}, tableProps), { layouts: Array, columns: Array, pagerConfig: Object, proxyConfig: Object, toolbarConfig: Object, formConfig: Object, zoomConfig: Object, size: {
|
|
53
51
|
type: String,
|
|
54
52
|
default: () => getConfig().grid.size || getConfig().size
|
|
55
53
|
} }),
|
|
@@ -1158,7 +1156,10 @@ export default {
|
|
|
1158
1156
|
zoom() {
|
|
1159
1157
|
const $xeGrid = this;
|
|
1160
1158
|
const reactData = $xeGrid.reactData;
|
|
1161
|
-
|
|
1159
|
+
if (reactData.isZMax) {
|
|
1160
|
+
return $xeGrid.revert();
|
|
1161
|
+
}
|
|
1162
|
+
return $xeGrid.maximize();
|
|
1162
1163
|
},
|
|
1163
1164
|
isMaximized() {
|
|
1164
1165
|
const $xeGrid = this;
|