🔱: [client] sync upgrade with 9 commits [trident-sync]

refactor: bpmn 1.0.6
Merge remote-tracking branch 'origin/main'
refactor: bpmn 1.0.6
Merge branch 'main' of https://github.com/fast-crud/fs-admin-antdv
perf: toolbar按钮显隐配置,保存按钮,对话框样式优化
refactor: 1.13.0
refactor: 1.13.0
feat: FsComponentRender组件重构

修复选择联动示例报错的bug
This commit is contained in:
GitHub Actions Bot
2023-04-07 19:23:58 +00:00
parent e76fb235aa
commit 5746042d68
6 changed files with 41 additions and 20 deletions
@@ -39,7 +39,8 @@ function install(app: any, options: any = {}) {
},
conditionalRender: {
match(scope) {
return !scope.value;
//不能用 !scope.value 否则switch组件设置为关之后就消失了
return scope.value == null || (scope.value instanceof Array && scope.value.length === 0);
},
render() {
return "-";