@94ai/nf-table 100.1.19 → 100.1.20
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/lib/nf-table.cjs.js
CHANGED
|
@@ -6395,9 +6395,10 @@ __sfc_main.setup = (__props, __ctx) => {
|
|
|
6395
6395
|
console.log(e);
|
|
6396
6396
|
}
|
|
6397
6397
|
}
|
|
6398
|
-
await vueDemi.nextTick();
|
|
6399
|
-
props.columns._skip = true;
|
|
6400
6398
|
tableColumns.value = columns.sort((a, b) => a._index - b._index < 0 ? -1 : a._index - b._index > 0 ? 1 : 0);
|
|
6399
|
+
vueDemi.nextTick(() => {
|
|
6400
|
+
props.columns._skip = false;
|
|
6401
|
+
});
|
|
6401
6402
|
elTableRefKey.value = Date.now();
|
|
6402
6403
|
};
|
|
6403
6404
|
syncCookiesToTableColumn();
|
|
@@ -6409,7 +6410,7 @@ __sfc_main.setup = (__props, __ctx) => {
|
|
|
6409
6410
|
return;
|
|
6410
6411
|
}
|
|
6411
6412
|
localShowColumn.value = initLocalShow();
|
|
6412
|
-
await syncCookiesToTableColumn(
|
|
6413
|
+
await syncCookiesToTableColumn();
|
|
6413
6414
|
}, {
|
|
6414
6415
|
deep: true
|
|
6415
6416
|
});
|
|
@@ -6393,9 +6393,10 @@ __sfc_main.setup = (__props, __ctx) => {
|
|
|
6393
6393
|
console.log(e);
|
|
6394
6394
|
}
|
|
6395
6395
|
}
|
|
6396
|
-
await nextTick();
|
|
6397
|
-
props.columns._skip = true;
|
|
6398
6396
|
tableColumns.value = columns.sort((a, b) => a._index - b._index < 0 ? -1 : a._index - b._index > 0 ? 1 : 0);
|
|
6397
|
+
nextTick(() => {
|
|
6398
|
+
props.columns._skip = false;
|
|
6399
|
+
});
|
|
6399
6400
|
elTableRefKey.value = Date.now();
|
|
6400
6401
|
};
|
|
6401
6402
|
syncCookiesToTableColumn();
|
|
@@ -6407,7 +6408,7 @@ __sfc_main.setup = (__props, __ctx) => {
|
|
|
6407
6408
|
return;
|
|
6408
6409
|
}
|
|
6409
6410
|
localShowColumn.value = initLocalShow();
|
|
6410
|
-
await syncCookiesToTableColumn(
|
|
6411
|
+
await syncCookiesToTableColumn();
|
|
6411
6412
|
}, {
|
|
6412
6413
|
deep: true
|
|
6413
6414
|
});
|
package/package/nf-table.vue
CHANGED
|
@@ -973,9 +973,10 @@ const syncCookiesToTableColumn = async (readCached = true) => {
|
|
|
973
973
|
console.log(e)
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
|
-
await nextTick()
|
|
977
|
-
props.columns._skip = true
|
|
978
976
|
tableColumns.value = columns.sort((a, b) => a._index! - b._index! < 0 ? -1 : a._index! - b._index! > 0 ? 1 : 0)
|
|
977
|
+
nextTick(() => {
|
|
978
|
+
props.columns._skip = false
|
|
979
|
+
})
|
|
979
980
|
elTableRefKey.value = Date.now()
|
|
980
981
|
}
|
|
981
982
|
|
|
@@ -989,7 +990,7 @@ onBeforeMount(() => {
|
|
|
989
990
|
return
|
|
990
991
|
}
|
|
991
992
|
localShowColumn.value = initLocalShow()
|
|
992
|
-
await syncCookiesToTableColumn(
|
|
993
|
+
await syncCookiesToTableColumn()
|
|
993
994
|
}, {
|
|
994
995
|
deep: true
|
|
995
996
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-table",
|
|
3
|
-
"version": "100.1.
|
|
3
|
+
"version": "100.1.20",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/common-utils": "^100.1.
|
|
18
|
-
"@94ai/nf-drawer": "^100.1.
|
|
19
|
-
"@94ai/nf-message": "^100.1.
|
|
20
|
-
"@94ai/nf-search-form": "^100.1.
|
|
21
|
-
"@94ai/nf-theme-chalk": "^100.1.
|
|
17
|
+
"@94ai/common-utils": "^100.1.20",
|
|
18
|
+
"@94ai/nf-drawer": "^100.1.20",
|
|
19
|
+
"@94ai/nf-message": "^100.1.20",
|
|
20
|
+
"@94ai/nf-search-form": "^100.1.20",
|
|
21
|
+
"@94ai/nf-theme-chalk": "^100.1.20",
|
|
22
22
|
"idb-keyval": "^6.2.1",
|
|
23
23
|
"vue-demi": "^0.14.5",
|
|
24
24
|
"vuedraggable": "^2.24.3"
|