mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
🔱: [client] sync upgrade with 4 commits [trident-sync]
refactor: 1.12.2 refactor: card layout style perf: 新增table.conditionalRender配置,条件渲染
This commit is contained in:
@@ -36,6 +36,14 @@ function install(app: any, options: any = {}) {
|
||||
if (crudBinding.value?.table?.columnsMap && crudBinding.value?.table?.columnsMap[col.key]) {
|
||||
crudBinding.value.table.columnsMap[col.key].width = w;
|
||||
}
|
||||
},
|
||||
conditionalRender: {
|
||||
match(scope) {
|
||||
return !scope.value;
|
||||
},
|
||||
render() {
|
||||
return "-";
|
||||
}
|
||||
}
|
||||
},
|
||||
rowHandle: {
|
||||
|
||||
Reference in New Issue
Block a user