vxe-table 4.22.0-beta.1 → 4.22.0
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/dist/all.esm.js +4 -4
- package/dist/style.css +1 -1
- package/es/grid/src/grid.js +2 -2
- package/es/style.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +2 -2
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +4 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +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 +2 -2
- package/packages/grid/src/grid.ts +2 -2
- /package/es/{iconfont.1789279229903.ttf → iconfont.1789914604819.ttf} +0 -0
- /package/es/{iconfont.1789279229903.woff → iconfont.1789914604819.woff} +0 -0
- /package/es/{iconfont.1789279229903.woff2 → iconfont.1789914604819.woff2} +0 -0
- /package/lib/{iconfont.1789279229903.ttf → iconfont.1789914604819.ttf} +0 -0
- /package/lib/{iconfont.1789279229903.woff → iconfont.1789914604819.woff} +0 -0
- /package/lib/{iconfont.1789279229903.woff2 → iconfont.1789914604819.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -47,7 +47,7 @@ function getDefaultConfig(val1, def1) {
|
|
|
47
47
|
return XEUtils.eqNull(val1) ? def1 : val1;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
const version = "4.22.0
|
|
50
|
+
const version = "4.22.0";
|
|
51
51
|
VxeUI.version = version;
|
|
52
52
|
VxeUI.tableVersion = version;
|
|
53
53
|
VxeUI.setConfig({
|
|
@@ -931,7 +931,7 @@ function getPopupWrapperElement(panelElem) {
|
|
|
931
931
|
}
|
|
932
932
|
|
|
933
933
|
const { log } = VxeUI;
|
|
934
|
-
const tableVersion = `table v${"4.22.0
|
|
934
|
+
const tableVersion = `table v${"4.22.0"}`;
|
|
935
935
|
function createComponentLog(name) {
|
|
936
936
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
|
|
937
937
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -31866,7 +31866,7 @@ var VxeGridComponent = defineVxeComponent({
|
|
|
31866
31866
|
// 处理插槽
|
|
31867
31867
|
formOpts.items.forEach((item) => {
|
|
31868
31868
|
XEUtils.each(item.slots, (func) => {
|
|
31869
|
-
if (!XEUtils.isFunction(func)) {
|
|
31869
|
+
if (func && !XEUtils.isFunction(func)) {
|
|
31870
31870
|
if (slots[func]) {
|
|
31871
31871
|
formSlots[func] = slots[func];
|
|
31872
31872
|
}
|
|
@@ -33004,7 +33004,7 @@ var VxeGridComponent = defineVxeComponent({
|
|
|
33004
33004
|
XEUtils.eachTree(columns, (column) => {
|
|
33005
33005
|
if (column.slots) {
|
|
33006
33006
|
XEUtils.each(column.slots, (func) => {
|
|
33007
|
-
if (!XEUtils.isFunction(func)) {
|
|
33007
|
+
if (func && !XEUtils.isFunction(func)) {
|
|
33008
33008
|
if (!slots[func]) {
|
|
33009
33009
|
errLog('vxe.error.notSlot', [func]);
|
|
33010
33010
|
}
|