mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 13:42:50 +00:00
优化
This commit is contained in:
parent
8109e99653
commit
ee470d2902
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cool-vue/crud",
|
||||
"version": "7.0.1-beta6",
|
||||
"version": "7.0.1-beta7",
|
||||
"private": false,
|
||||
"main": "./dist/index.umd.min.js",
|
||||
"typings": "types/index.d.ts",
|
||||
|
||||
@ -36,7 +36,9 @@ export function parseTableDict(value: any, item: ClTable.Column) {
|
||||
}
|
||||
|
||||
// 绑定值
|
||||
const values = (isArray(value) ? value : [value]).filter((e) => e !== undefined);
|
||||
const values = (isArray(value) ? value : [value]).filter(
|
||||
(e) => e !== undefined || e !== null || e !== ""
|
||||
);
|
||||
|
||||
// 返回值
|
||||
const list = values.map((v) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user